#6239C0#6239C0
#6239C0 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.198 H 290.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6239C0 |
|---|---|
| RGB | rgb(98, 57, 192) |
| HSL | hsl(258, 54%, 49%) |
| HSV | hsv(258, 70%, 75%) |
| CMYK | cmyk(49%, 70.3%, 0%, 24.7%) |
| CIE-LAB | lab(36.61, 49.38, -64.43) |
| CIE-LCH | lch(36.61, 81.18, 307.47°) |
| OKLab | oklab(47.53% 0.0703 -0.1848) |
| OKLCH | oklch(47.53% 0.198 290.8) |
| XYZ | xyz(16.0119, 9.3281, 50.8158) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.19
Blurple
#5539CC
ΔE00 2.56
Blue With A Hint Of Purple
#533CC6
ΔE00 2.61
Ocean Blue
#4F42B5
ΔE00 4.24
Purple Blue
#5D21D0
ΔE00 4.42
Burple
#6832E3
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6239C0 #97C039
analogous
#3954C0 #6239C0 #A639C0
triadic
#6239C0 #C06239 #39C062
tetradic
#6239C0 #C03954 #97C039 #39C0A6
square
#6239C0 #C03954 #97C039 #39C0A6
split-complementary
#6239C0 #C0A639 #54C039
monochromatic
#321D62 #4A2B91 #6239C0 #8665D1 #AB94DF
Accessibility & contrast
On white
7.33
#6239C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#6239C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6239C0
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6239C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6239C0 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#435C78
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6239c0; /* rgb */ color: rgb(98, 57, 192); /* oklch */ color: oklch(47.5% 0.198 290.8);
Tailwind
colors: {
custom: {
50: '#9773d4',
500: '#6239c0',
950: '#000000',
},
}SCSS
$custom: #6239c0; $custom-light: #9773d4; $custom-dark: #000000;
JSON
{
"hex": "#6239c0",
"rgb": {
"r": 98,
"g": 57,
"b": 192
},
"hsl": {
"h": 258.222,
"s": 54.217,
"l": 48.824
},
"oklch": {
"l": 0.47526,
"c": 0.19775,
"h": 290.8
},
"luminance": 0.09329
}Semantic roles & 50–950 ramp
primary
#6239C0
secondary
#B7CB8A
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83