#2D0C55#2D0C55
#2D0C55 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.120 H 297.7°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0C55 |
|---|---|
| RGB | rgb(45, 12, 85) |
| HSL | hsl(267, 75%, 19%) |
| HSV | hsv(267, 86%, 33%) |
| CMYK | cmyk(47.1%, 85.9%, 0%, 66.7%) |
| CIE-LAB | lab(12.46, 32.72, -37.16) |
| CIE-LCH | lch(12.46, 49.52, 311.36°) |
| OKLab | oklab(26.03% 0.0558 -0.1064) |
| OKLCH | oklch(26.03% 0.12 297.7) |
| XYZ | xyz(2.8529, 1.4767, 8.7273) |
| Luminance | 0.0148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.63
Dark Violet
#34013F
ΔE00 6.18
Dark Blue
#00035B
ΔE00 6.26
Night Blue
#040348
ΔE00 6.27
Darkblue (survey)
#030764
ΔE00 6.41
Midnight Purple
#280137
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0C55 #34550C
analogous
#0C1055 #2D0C55 #520C55
triadic
#2D0C55 #552D0C #0C552D
tetradic
#2D0C55 #550C10 #34550C #0C5552
square
#2D0C55 #550C10 #34550C #0C5552
split-complementary
#2D0C55 #55520C #10550C
monochromatic
#0E041B #11041F #2D0C55 #49148B #661BC0
Accessibility & contrast
On white
16.21
#2D0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#2D0C55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0C55
16.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0C55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0C55 | 1.00 | 16.21 | 1.30 | 16.21 |
| #FFFFFF | 16.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#232031
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2d0c55; /* rgb */ color: rgb(45, 12, 85); /* oklch */ color: oklch(26.0% 0.120 297.7);
Tailwind
colors: {
custom: {
50: '#6b4f86',
500: '#2d0c55',
950: '#000000',
},
}SCSS
$custom: #2d0c55; $custom-light: #6b4f86; $custom-dark: #000000;
JSON
{
"hex": "#2d0c55",
"rgb": {
"r": 45,
"g": 12,
"b": 85
},
"hsl": {
"h": 267.123,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.26029,
"c": 0.12017,
"h": 297.7
},
"luminance": 0.01477
}Semantic roles & 50–950 ramp
primary
#2D0C55
secondary
#63902D
accent
#F2369D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C