#300997
Closest named color: Royal (#0C1793). oklch(33.7% 0.196 280.2), rgb(48, 9, 151).
Aa
White text reads best on this color (13.03:1).
About this color
#300997 is a dark, vivid purple. In OKLCH its lightness is 34%, its chroma 0.196 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Royal (#0C1793), ΔE 0.049 away. White text reads best on it, at 13.03:1.
| Hue family | Purples |
| Lightness | dark (34%) |
| Chroma | vivid (0.196) |
| Temperature | cool |
| Nearest name | Royal (#0C1793) |
| Black text | 1.61:1 |
| White text | 13.03:1 |
Values
| HEX | #300997 |
| RGB | rgb(48, 9, 151) |
| HSL | hsl(256, 89%, 31%) |
| OKLCH | oklch(33.7% 0.196 280.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #300997 | 13.03:1 | AAA | Lc -101.0 | Preferred for body text |
| Black text on #300997 | 1.61:1 | Fails | Lc 0.0 | Not readable |
| #300997 text on white | 13.03:1 | AAA | Lc 97.5 | Preferred for body text |
| #300997 text on black | 1.61:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FF
oklch(93.6% 0.031 279.9)
-
Step 200
200
#D1D6FF
oklch(88.5% 0.057 279.7)
-
Step 300
300
#B4BAFF
oklch(80.9% 0.098 280.1)
-
Step 400
400
#8F93FF
oklch(70.7% 0.156 280)
-
Step 500
500
#7773FF
oklch(63.2% 0.202 280.2)
-
Step 600
600
#624CFF
oklch(55.6% 0.251 280)
-
Step 700
700
#5605FF
oklch(49.1% 0.295 280.2)
-
Step 800
800
#460CD1
oklch(42.7% 0.251 280.4)
-
Step 900
900 (this color)
#300997
oklch(33.7% 0.196 280.2)
-
Step 950
950
#201660
oklch(27.1% 0.124 280.4)
#300997 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #00359A | 0.074 |
| Deuteranopia (no green cones) | #002C95 | 0.061 |
| Tritanopia (no blue cones) | #003C57 | 0.153 |
| Achromatopsia (no color) | #313131 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #300997
#300997
oklch(33.7% 0.196 280.2)
- #403800
#403800
oklch(33.9% 0.071 100.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #300997
These curated palettes and gradients contain exactly #300997. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal #0C1793 ΔE 0.049
- Ultramarine #2000B1 ΔE 0.053
- Indigo Blue #3A18B1 ΔE 0.053
- Imperial Purple #480CA8 ΔE 0.055
- Cobalt Blue #030AA7 ΔE 0.063
- Indigo #4B0082 ΔE 0.072
- Dark Blue #00008B ΔE 0.074
- Midnight Blue #191970 ΔE 0.075
Use #300997 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.