#2D109F#2D109F
#2D109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.9% C 0.202 H 277.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2D109F |
|---|---|
| RGB | rgb(45, 16, 159) |
| HSL | hsl(252, 82%, 34%) |
| HSV | hsv(252, 90%, 62%) |
| CMYK | cmyk(71.7%, 89.9%, 0%, 37.6%) |
| CIE-LAB | lab(21.69, 52.21, -69.44) |
| CIE-LCH | lch(21.69, 86.88, 306.94°) |
| OKLab | oklab(34.9% 0.025 -0.2005) |
| OKLCH | oklch(34.9% 0.202 277.1) |
| XYZ | xyz(7.5235, 3.4310, 33.0599) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.40
Ultramarine
#2000B1
ΔE00 2.57
Royal Blue (survey)
#0504AA
ΔE00 2.59
Indigo Blue
#3A18B1
ΔE00 3.21
Royal
#0C1793
ΔE00 3.29
Darkblue
#00008B
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D109F #829F10
analogous
#103B9F #2D109F #75109F
triadic
#2D109F #9F2D10 #109F2D
tetradic
#2D109F #9F103B #829F10 #109F75
square
#2D109F #9F103B #829F10 #109F75
split-complementary
#2D109F #9F7510 #3B9F10
monochromatic
#0E0530 #1D0A67 #2D109F #3D16D7 #613EEC
Accessibility & contrast
On white
12.45
#2D109F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2D109F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D109F
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D109F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D109F | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2d109f; /* rgb */ color: rgb(45, 16, 159); /* oklch */ color: oklch(34.9% 0.202 277.1);
Tailwind
colors: {
custom: {
50: '#7a58bd',
500: '#2d109f',
950: '#000000',
},
}SCSS
$custom: #2d109f; $custom-light: #7a58bd; $custom-dark: #000000;
JSON
{
"hex": "#2d109f",
"rgb": {
"r": 45,
"g": 16,
"b": 159
},
"hsl": {
"h": 252.168,
"s": 81.714,
"l": 34.314
},
"oklch": {
"l": 0.34897,
"c": 0.20205,
"h": 277.1
},
"luminance": 0.03432
}Semantic roles & 50–950 ramp
primary
#2D109F
secondary
#AFCB40
accent
#F830CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981