#6B238F#6B238F
#6B238F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 311.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6B238F |
|---|---|
| RGB | rgb(107, 35, 143) |
| HSL | hsl(280, 61%, 35%) |
| HSV | hsv(280, 76%, 56%) |
| CMYK | cmyk(25.2%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.18, 49.09, -45.38) |
| CIE-LCH | lch(30.18, 66.85, 317.25°) |
| OKLab | oklab(42% 0.114 -0.1284) |
| OKLCH | oklch(42% 0.172 311.6) |
| XYZ | xyz(11.6214, 6.3113, 26.5873) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.62
Rebeccapurple
#663399
ΔE00 3.80
Purple
#800080
ΔE00 6.21
Darkish Purple
#751973
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.71
Indigo
#4B0082
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B238F #478F23
analogous
#35238F #6B238F #8F237D
triadic
#6B238F #8F6B23 #238F6B
tetradic
#6B238F #8F3523 #478F23 #237D8F
square
#6B238F #8F3523 #478F23 #237D8F
split-complementary
#6B238F #7D8F23 #238F35
monochromatic
#210B2D #46175E #6B238F #902FC0 #AB57D6
Accessibility & contrast
On white
9.28
#6B238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6B238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B238F
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B238F | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#12488D
Tritanopia (blue-blind)
#663C57
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b238f; /* rgb */ color: rgb(107, 35, 143); /* oklch */ color: oklch(42.0% 0.172 311.6);
Tailwind
colors: {
custom: {
50: '#9966b0',
500: '#6b238f',
950: '#000000',
},
}SCSS
$custom: #6b238f; $custom-light: #9966b0; $custom-dark: #000000;
JSON
{
"hex": "#6b238f",
"rgb": {
"r": 107,
"g": 35,
"b": 143
},
"hsl": {
"h": 280,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.42004,
"c": 0.17171,
"h": 311.6
},
"luminance": 0.06311
}Semantic roles & 50–950 ramp
primary
#6B238F
secondary
#76BA54
accent
#E44479
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80