#2D0C53#2D0C53
#2D0C53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.8% C 0.118 H 298.6°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0C53 |
|---|---|
| RGB | rgb(45, 12, 83) |
| HSL | hsl(268, 75%, 19%) |
| HSV | hsv(268, 86%, 33%) |
| CMYK | cmyk(45.8%, 85.5%, 0%, 67.5%) |
| CIE-LAB | lab(12.26, 32.16, -36.13) |
| CIE-LCH | lch(12.26, 48.37, 311.67°) |
| OKLab | oklab(25.83% 0.0565 -0.1034) |
| OKLCH | oklch(25.83% 0.118 298.6) |
| XYZ | xyz(2.7746, 1.4453, 8.3147) |
| Luminance | 0.0144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.82
Dark Violet
#34013F
ΔE00 5.82
Midnight Purple
#280137
ΔE00 6.08
Deep Purple
#36013F
ΔE00 6.19
Dark Purple
#35063E
ΔE00 6.28
Night Blue
#040348
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0C53 #32530C
analogous
#0C0E53 #2D0C53 #500C53
triadic
#2D0C53 #532D0C #0C532D
tetradic
#2D0C53 #530C0E #32530C #0C5350
square
#2D0C53 #530C0E #32530C #0C5350
split-complementary
#2D0C53 #53500C #0E530C
monochromatic
#0E041B #10041E #2D0C53 #4A1488 #671BBE
Accessibility & contrast
On white
16.29
#2D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#2D0C53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0C53
16.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0C53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0C53 | 1.00 | 16.29 | 1.29 | 16.29 |
| #FFFFFF | 16.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#23202F
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2d0c53; /* rgb */ color: rgb(45, 12, 83); /* oklch */ color: oklch(25.8% 0.118 298.6);
Tailwind
colors: {
custom: {
50: '#6b4f84',
500: '#2d0c53',
950: '#000000',
},
}SCSS
$custom: #2d0c53; $custom-light: #6b4f84; $custom-dark: #000000;
JSON
{
"hex": "#2d0c53",
"rgb": {
"r": 45,
"g": 12,
"b": 83
},
"hsl": {
"h": 267.887,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.25826,
"c": 0.11782,
"h": 298.6
},
"luminance": 0.01445
}Semantic roles & 50–950 ramp
primary
#2D0C53
secondary
#618E2D
accent
#F1369A
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C