#6129C2#6129C2
#6129C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.216 H 292.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6129C2 |
|---|---|
| RGB | rgb(97, 41, 194) |
| HSL | hsl(262, 65%, 46%) |
| HSV | hsv(262, 79%, 76%) |
| CMYK | cmyk(50%, 78.9%, 0%, 23.9%) |
| CIE-LAB | lab(34.03, 57.28, -69.84) |
| CIE-LCH | lch(34.03, 90.33, 309.36°) |
| OKLab | oklab(45.74% 0.0814 -0.2006) |
| OKLCH | oklch(45.74% 0.216 292.1) |
| XYZ | xyz(15.4576, 8.0217, 51.7624) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.02
Blurple
#5539CC
ΔE00 3.93
Violet Blue
#510AC9
ΔE00 4.24
Blue With A Hint Of Purple
#533CC6
ΔE00 4.45
Blue Violet
#5D06E9
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6129C2 #8AC229
analogous
#293DC2 #6129C2 #AD29C2
triadic
#6129C2 #C26129 #29C261
tetradic
#6129C2 #C2293D #8AC229 #29C2AD
square
#6129C2 #C2293D #8AC229 #29C2AD
split-complementary
#6129C2 #C2AD29 #3DC229
monochromatic
#2E145D #481E8F #6129C2 #814EDA #A581E4
Accessibility & contrast
On white
8.06
#6129C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6129C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6129C2
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6129C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6129C2 | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#405576
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6129c2; /* rgb */ color: rgb(97, 41, 194); /* oklch */ color: oklch(45.7% 0.216 292.1);
Tailwind
colors: {
custom: {
50: '#986ad6',
500: '#6129c2',
950: '#000000',
},
}SCSS
$custom: #6129c2; $custom-light: #986ad6; $custom-dark: #000000;
JSON
{
"hex": "#6129c2",
"rgb": {
"r": 97,
"g": 41,
"b": 194
},
"hsl": {
"h": 261.961,
"s": 65.106,
"l": 46.078
},
"oklch": {
"l": 0.45739,
"c": 0.21646,
"h": 292.1
},
"luminance": 0.08022
}Semantic roles & 50–950 ramp
primary
#6129C2
secondary
#AFCD7A
accent
#E840AA
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83