#6237C3#6237C3
#6237C3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.203 H 290.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6237C3 |
|---|---|
| RGB | rgb(98, 55, 195) |
| HSL | hsl(258, 56%, 49%) |
| HSV | hsv(258, 72%, 76%) |
| CMYK | cmyk(49.7%, 71.8%, 0%, 23.5%) |
| CIE-LAB | lab(36.50, 51.23, -66.37) |
| CIE-LCH | lch(36.50, 83.85, 307.67°) |
| OKLab | oklab(47.53% 0.0715 -0.1905) |
| OKLCH | oklch(47.53% 0.203 290.6) |
| XYZ | xyz(16.2507, 9.2685, 52.5519) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.35
Bluey Purple
#6241C7
ΔE00 2.41
Blue With A Hint Of Purple
#533CC6
ΔE00 2.63
Purple Blue
#5D21D0
ΔE00 3.90
Burple
#6832E3
ΔE00 4.17
Purpley Blue
#5F34E7
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6237C3 #98C337
analogous
#3752C3 #6237C3 #A837C3
triadic
#6237C3 #C36237 #37C362
tetradic
#6237C3 #C33752 #98C337 #37C3A8
square
#6237C3 #C33752 #98C337 #37C3A8
split-complementary
#6237C3 #C3A837 #52C337
monochromatic
#321C64 #4A2A93 #6237C3 #8664D3 #AB94E1
Accessibility & contrast
On white
7.36
#6237C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#6237C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6237C3
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6237C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6237C3 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#415C79
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6237c3; /* rgb */ color: rgb(98, 55, 195); /* oklch */ color: oklch(47.5% 0.203 290.6);
Tailwind
colors: {
custom: {
50: '#9872d6',
500: '#6237c3',
950: '#000000',
},
}SCSS
$custom: #6237c3; $custom-light: #9872d6; $custom-dark: #000000;
JSON
{
"hex": "#6237c3",
"rgb": {
"r": 98,
"g": 55,
"b": 195
},
"hsl": {
"h": 258.429,
"s": 56,
"l": 49.02
},
"oklch": {
"l": 0.47525,
"c": 0.20348,
"h": 290.6
},
"luminance": 0.09269
}Semantic roles & 50–950 ramp
primary
#6237C3
secondary
#B8CC8A
accent
#DF49B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83