#6126C3#6126C3
#6126C3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.220 H 292.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6126C3 |
|---|---|
| RGB | rgb(97, 38, 195) |
| HSL | hsl(263, 67%, 46%) |
| HSV | hsv(263, 81%, 76%) |
| CMYK | cmyk(50.3%, 80.5%, 0%, 23.5%) |
| CIE-LAB | lab(33.70, 58.75, -70.96) |
| CIE-LCH | lch(33.70, 92.12, 309.63°) |
| OKLab | oklab(45.54% 0.0831 -0.2038) |
| OKLCH | oklch(45.54% 0.22 292.2) |
| XYZ | xyz(15.4704, 7.8672, 52.3226) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.76
Violet Blue
#510AC9
ΔE00 3.84
Blurple
#5539CC
ΔE00 4.26
Blue Violet
#5D06E9
ΔE00 4.66
Blue With A Hint Of Purple
#533CC6
ΔE00 4.82
Purply Blue
#661AEE
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6126C3 #88C326
analogous
#2639C3 #6126C3 #AF26C3
triadic
#6126C3 #C36126 #26C361
tetradic
#6126C3 #C32639 #88C326 #26C3AF
square
#6126C3 #C32639 #88C326 #26C3AF
split-complementary
#6126C3 #C3AF26 #39C326
monochromatic
#2E125D #481C90 #6126C3 #814ADC #A57EE6
Accessibility & contrast
On white
8.16
#6126C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#6126C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6126C3
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6126C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6126C3 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#405476
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6126c3; /* rgb */ color: rgb(97, 38, 195); /* oklch */ color: oklch(45.5% 0.220 292.2);
Tailwind
colors: {
custom: {
50: '#9869d6',
500: '#6126c3',
950: '#000000',
},
}SCSS
$custom: #6126c3; $custom-light: #9869d6; $custom-dark: #000000;
JSON
{
"hex": "#6126c3",
"rgb": {
"r": 97,
"g": 38,
"b": 195
},
"hsl": {
"h": 262.548,
"s": 67.382,
"l": 45.686
},
"oklch": {
"l": 0.45543,
"c": 0.22012,
"h": 292.2
},
"luminance": 0.07868
}Semantic roles & 50–950 ramp
primary
#6126C3
secondary
#ADCE77
accent
#EA3EA9
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0715
muted
#7F7A83