#6D40B6
Closest named color: Bluey Purple (#6241C7). oklch(48.8% 0.178 296.8), rgb(109, 64, 182).
Aa
White text reads best on this color (6.86:1).
About this color
#6D40B6 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.178 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.034 away. White text reads best on it, at 6.86:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.05:1 |
| White text | 6.86:1 |
Values
| HEX | #6D40B6 |
| RGB | rgb(109, 64, 182) |
| HSL | hsl(263, 48%, 48%) |
| OKLCH | oklch(48.8% 0.178 296.8) |
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 #6D40B6 | 6.86:1 | AA | Lc -88.2 | Fine for body text |
| Black text on #6D40B6 | 3.05:1 | AA large text | Lc 20.8 | Dividers and decoration only |
| #6D40B6 text on white | 6.86:1 | AA | Lc 83.2 | Fine for body text |
| #6D40B6 text on black | 3.05:1 | AA large text | Lc -18.7 | 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 700.
-
Step 50
50
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#EBE7F9
oklch(93.6% 0.024 296.1)
-
Step 200
200
#DCD3F6
oklch(88.5% 0.049 297.2)
-
Step 300
300
#C6B5F2
oklch(80.8% 0.087 297.2)
-
Step 400
400
#AA8DEC
oklch(70.8% 0.138 296.8)
-
Step 500
500
#966DE5
oklch(63.1% 0.176 296.8)
-
Step 600
600
#8251D3
oklch(55.6% 0.191 297.1)
-
Step 700
700 (this color)
#6D40B6
oklch(48.8% 0.178 296.8)
-
Step 800
800
#593694
oklch(42.6% 0.148 296.8)
-
Step 900
900
#493076
oklch(37.6% 0.115 297)
-
Step 950
950
#2B1D45
oklch(27% 0.073 297.5)
#6D40B6 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) | #005BBA | 0.120 |
| Deuteranopia (no green cones) | #0059B4 | 0.120 |
| Tritanopia (no blue cones) | #5B5B75 | 0.138 |
| Achromatopsia (no color) | #5A5A5A | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6D40B6
#6D40B6
oklch(48.8% 0.178 296.8)
- #5C6700
#5C6700
oklch(48.7% 0.112 116.8)
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 #6D40B6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.034
- Rebecca Purple #663399 ΔE 0.055
- Blue With A Hint Of Purple #533CC6 ΔE 0.055
- Iris #6258C4 ΔE 0.057
- Blurple #5539CC ΔE 0.059
- Slate Blue #6A5ACD ΔE 0.065
- Light Indigo #6D5ACF ΔE 0.067
- Grape #7209B7 ΔE 0.070
Use #6D40B6 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.