#6B02CA#6B02CA
#6B02CA is a mid, highly saturated violet. Relative luminance 0.074; OKLCH L 45.4% C 0.246 H 296.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6B02CA |
|---|---|
| RGB | rgb(107, 2, 202) |
| HSL | hsl(272, 98%, 40%) |
| HSV | hsv(272, 99%, 79%) |
| CMYK | cmyk(47%, 99%, 0%, 20.8%) |
| CIE-LAB | lab(32.77, 70.06, -76.55) |
| CIE-LCH | lch(32.77, 103.77, 312.46°) |
| OKLab | oklab(45.39% 0.1105 -0.2196) |
| OKLCH | oklch(45.39% 0.246 296.7) |
| XYZ | xyz(16.7429, 7.4331, 56.4182) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.03
Violet Blue
#510AC9
ΔE00 3.45
Blue Violet
#5D06E9
ΔE00 4.08
Blue Purple
#5A06EF
ΔE00 4.78
Purply Blue
#661AEE
ΔE00 5.23
Burple
#6832E3
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B02CA #61CA02
analogous
#0702CA #6B02CA #CA02C5
triadic
#6B02CA #CA6B02 #02CA6B
tetradic
#6B02CA #CA0702 #61CA02 #02C5CA
square
#6B02CA #CA0702 #61CA02 #02C5CA
split-complementary
#6B02CA #C5CA02 #02CA07
monochromatic
#2B0151 #4B018D #6B02CA #8B0DFD #A849FD
Accessibility & contrast
On white
8.45
#6B02CA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#6B02CA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B02CA
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B02CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B02CA | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004ECF
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#4F4E76
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #6b02ca; /* rgb */ color: rgb(107, 2, 202); /* oklch */ color: oklch(45.4% 0.246 296.7);
Tailwind
colors: {
custom: {
50: '#a060dc',
500: '#6b02ca',
950: '#000000',
},
}SCSS
$custom: #6b02ca; $custom-light: #a060dc; $custom-dark: #000000;
JSON
{
"hex": "#6b02ca",
"rgb": {
"r": 107,
"g": 2,
"b": 202
},
"hsl": {
"h": 271.5,
"s": 98.039,
"l": 40
},
"oklch": {
"l": 0.45393,
"c": 0.24579,
"h": 296.7
},
"luminance": 0.07433
}Semantic roles & 50–950 ramp
primary
#6B02CA
secondary
#90DD4A
accent
#FF298F
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#100615
muted
#7F7A83