#6034C2#6034C2
#6034C2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.206 H 290.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6034C2 |
|---|---|
| RGB | rgb(96, 52, 194) |
| HSL | hsl(259, 58%, 48%) |
| HSV | hsv(259, 73%, 76%) |
| CMYK | cmyk(50.5%, 73.2%, 0%, 23.9%) |
| CIE-LAB | lab(35.67, 52.13, -67.15) |
| CIE-LCH | lch(35.67, 85.01, 307.83°) |
| OKLab | oklab(46.86% 0.0714 -0.1928) |
| OKLCH | oklch(46.86% 0.206 290.3) |
| XYZ | xyz(15.7867, 8.8372, 51.9024) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.44
Blue With A Hint Of Purple
#533CC6
ΔE00 2.78
Bluey Purple
#6241C7
ΔE00 3.09
Purple Blue
#5D21D0
ΔE00 3.35
Burple
#6832E3
ΔE00 4.42
Purpley Blue
#5F34E7
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6034C2 #96C234
analogous
#344FC2 #6034C2 #A734C2
triadic
#6034C2 #C26034 #34C260
tetradic
#6034C2 #C2344F #96C234 #34C2A7
square
#6034C2 #C2344F #96C234 #34C2A7
split-complementary
#6034C2 #C2A734 #4FC234
monochromatic
#301A61 #482792 #6034C2 #835FD4 #A98FE1
Accessibility & contrast
On white
7.59
#6034C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#6034C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6034C2
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6034C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6034C2 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#3E5A78
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6034c2; /* rgb */ color: rgb(96, 52, 194); /* oklch */ color: oklch(46.9% 0.206 290.3);
Tailwind
colors: {
custom: {
50: '#9770d6',
500: '#6034c2',
950: '#000000',
},
}SCSS
$custom: #6034c2; $custom-light: #9770d6; $custom-dark: #000000;
JSON
{
"hex": "#6034c2",
"rgb": {
"r": 96,
"g": 52,
"b": 194
},
"hsl": {
"h": 258.592,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.46863,
"c": 0.20562,
"h": 290.3
},
"luminance": 0.08838
}Semantic roles & 50–950 ramp
primary
#6034C2
secondary
#B6CC86
accent
#E147B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83