#6038AD
Closest named color: Rebecca Purple (#663399). oklch(45.6% 0.176 294), rgb(96, 56, 173).
Aa
White text reads best on this color (7.87:1).
About this color
#6038AD is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.176 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.036 away. White text reads best on it, at 7.87:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.176) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.66:1 |
| White text | 7.87:1 |
Values
| HEX | #6038AD |
| RGB | rgb(96, 56, 173) |
| HSL | hsl(261, 51%, 45%) |
| OKLCH | oklch(45.6% 0.176 294) |
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 #6038AD | 7.87:1 | AAA | Lc -91.5 | Preferred for body text |
| Black text on #6038AD | 2.66:1 | Fails | Lc 17.3 | Dividers and decoration only |
| #6038AD text on white | 7.87:1 | AAA | Lc 86.7 | Fine for body text |
| #6038AD text on black | 2.66:1 | Fails | Lc -15.3 | Dividers and decoration only |
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 800.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE6FC
oklch(93.5% 0.03 294.2)
-
Step 200
200
#DAD3FC
oklch(88.5% 0.056 293)
-
Step 300
300
#C4B4FD
oklch(80.9% 0.103 294)
-
Step 400
400
#A789FC
oklch(70.7% 0.165 293.8)
-
Step 500
500
#9466FA
oklch(63.2% 0.211 293.8)
-
Step 600
600
#8046E9
oklch(55.6% 0.23 293.8)
-
Step 700
700
#6D36CA
oklch(49.1% 0.213 294.1)
-
Step 800
800 (this color)
#6038AD
oklch(45.6% 0.176 294)
-
Step 900
900
#482C82
oklch(37.8% 0.138 293.7)
-
Step 950
950
#2A1B4C
oklch(27.1% 0.087 293.9)
#6038AD 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) | #0053B1 | 0.108 |
| Deuteranopia (no green cones) | #004FAB | 0.107 |
| Tritanopia (no blue cones) | #4A546E | 0.138 |
| Achromatopsia (no color) | #515151 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6038AD
#6038AD
oklch(45.6% 0.176 294)
- #575D00
#575D00
oklch(45.7% 0.103 114.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #6038AD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.036
- Bluey Purple #6241C7 ΔE 0.045
- Blue With A Hint Of Purple #533CC6 ΔE 0.047
- Blurple #5539CC ΔE 0.054
- Blueberry #464196 ΔE 0.060
- Grape #7209B7 ΔE 0.063
- Purple Blue #5D21D0 ΔE 0.064
- Chrysanthemum #560BAD ΔE 0.066
Use #6038AD 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.