#32126F#32126F
#32126F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.145 H 290.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #32126F |
|---|---|
| RGB | rgb(50, 18, 111) |
| HSL | hsl(261, 72%, 25%) |
| HSV | hsv(261, 84%, 44%) |
| CMYK | cmyk(55%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(16.79, 38.21, -47.31) |
| CIE-LCH | lch(16.79, 60.81, 308.92°) |
| OKLab | oklab(30.01% 0.0504 -0.136) |
| OKLCH | oklch(30.01% 0.145 290.3) |
| XYZ | xyz(4.4001, 2.2582, 15.2399) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.78
Midnight Blue
#191970
ΔE00 4.29
Dark Indigo
#1F0954
ΔE00 5.10
Indigo
#4B0082
ΔE00 5.16
Dark Royal Blue
#02066F
ΔE00 5.21
Royal Purple (survey)
#4B006E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32126F #4F6F12
analogous
#12216F #32126F #60126F
triadic
#32126F #6F3212 #126F32
tetradic
#32126F #6F1221 #4F6F12 #126F60
square
#32126F #6F1221 #4F6F12 #126F60
split-complementary
#32126F #6F6012 #216F12
monochromatic
#0C041A #1A093A #32126F #4A1BA4 #6123D8
Accessibility & contrast
On white
14.47
#32126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#32126F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32126F
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32126F | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#1B2D41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #32126f; /* rgb */ color: rgb(50, 18, 111); /* oklch */ color: oklch(30.0% 0.145 290.3);
Tailwind
colors: {
custom: {
50: '#725599',
500: '#32126f',
950: '#000000',
},
}SCSS
$custom: #32126f; $custom-light: #725599; $custom-dark: #000000;
JSON
{
"hex": "#32126f",
"rgb": {
"r": 50,
"g": 18,
"b": 111
},
"hsl": {
"h": 260.645,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.3001,
"c": 0.14505,
"h": 290.3
},
"luminance": 0.02258
}Semantic roles & 50–950 ramp
primary
#32126F
secondary
#80A637
accent
#EF39B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E