#2D0F43#2D0F43
#2D0F43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.095 H 307.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0F43 |
|---|---|
| RGB | rgb(45, 15, 67) |
| HSL | hsl(275, 63%, 16%) |
| HSV | hsv(275, 78%, 26%) |
| CMYK | cmyk(32.8%, 77.6%, 0%, 73.7%) |
| CIE-LAB | lab(11.31, 26.19, -26.58) |
| CIE-LCH | lch(11.31, 37.32, 314.57°) |
| OKLab | oklab(24.7% 0.0572 -0.0754) |
| OKLCH | oklch(24.7% 0.095 307.2) |
| XYZ | xyz(2.2659, 1.3048, 5.4416) |
| Luminance | 0.0131 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.49
Dark Purple
#35063E
ΔE00 3.53
Dark Violet
#34013F
ΔE00 3.89
Very Dark Purple
#2A0134
ΔE00 4.10
Deep Purple
#36013F
ΔE00 4.21
Dark Indigo
#1F0954
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0F43 #25430F
analogous
#130F43 #2D0F43 #430F3F
triadic
#2D0F43 #432D0F #0F432D
tetradic
#2D0F43 #43130F #25430F #0F3F43
square
#2D0F43 #43130F #25430F #0F3F43
split-complementary
#2D0F43 #3F430F #0F4313
monochromatic
#110619 #110619 #2D0F43 #4F1A75 #7025A7
Accessibility & contrast
On white
16.65
#2D0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#2D0F43 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0F43
16.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0F43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0F43 | 1.00 | 16.65 | 1.26 | 16.65 |
| #FFFFFF | 16.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#291B27
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #2d0f43; /* rgb */ color: rgb(45, 15, 67); /* oklch */ color: oklch(24.7% 0.095 307.2);
Tailwind
colors: {
custom: {
50: '#685077',
500: '#2d0f43',
950: '#000000',
},
}SCSS
$custom: #2d0f43; $custom-light: #685077; $custom-dark: #000000;
JSON
{
"hex": "#2d0f43",
"rgb": {
"r": 45,
"g": 15,
"b": 67
},
"hsl": {
"h": 274.615,
"s": 63.415,
"l": 16.078
},
"oklch": {
"l": 0.24697,
"c": 0.09462,
"h": 307.2
},
"luminance": 0.01305
}Semantic roles & 50–950 ramp
primary
#2D0F43
secondary
#517D30
accent
#E64187
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B