#6234C6#6234C6
#6234C6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.210 H 290.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6234C6 |
|---|---|
| RGB | rgb(98, 52, 198) |
| HSL | hsl(259, 58%, 49%) |
| HSV | hsv(259, 74%, 78%) |
| CMYK | cmyk(50.5%, 73.7%, 0%, 22.4%) |
| CIE-LAB | lab(36.23, 53.53, -68.56) |
| CIE-LCH | lch(36.23, 86.98, 307.98°) |
| OKLab | oklab(47.42% 0.0734 -0.1969) |
| OKLCH | oklch(47.42% 0.21 290.4) |
| XYZ | xyz(16.4551, 9.1292, 54.3102) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.36
Blue With A Hint Of Purple
#533CC6
ΔE00 2.87
Bluey Purple
#6241C7
ΔE00 2.90
Purple Blue
#5D21D0
ΔE00 3.24
Burple
#6832E3
ΔE00 3.82
Purpley Blue
#5F34E7
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6234C6 #98C634
analogous
#344FC6 #6234C6 #AB34C6
triadic
#6234C6 #C66234 #34C662
tetradic
#6234C6 #C6344F #98C634 #34C6AB
square
#6234C6 #C6344F #98C634 #34C6AB
split-complementary
#6234C6 #C6AB34 #4FC634
monochromatic
#321B65 #4A2796 #6234C6 #8662D6 #AB92E2
Accessibility & contrast
On white
7.43
#6234C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#6234C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6234C6
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6234C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6234C6 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#3F5B7A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #6234c6; /* rgb */ color: rgb(98, 52, 198); /* oklch */ color: oklch(47.4% 0.210 290.4);
Tailwind
colors: {
custom: {
50: '#9870d8',
500: '#6234c6',
950: '#000000',
},
}SCSS
$custom: #6234c6; $custom-light: #9870d8; $custom-dark: #000000;
JSON
{
"hex": "#6234c6",
"rgb": {
"r": 98,
"g": 52,
"b": 198
},
"hsl": {
"h": 258.904,
"s": 58.4,
"l": 49.02
},
"oklch": {
"l": 0.47417,
"c": 0.21012,
"h": 290.4
},
"luminance": 0.0913
}Semantic roles & 50–950 ramp
primary
#6234C6
secondary
#B8CD89
accent
#E246B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83