#2B109F#2B109F
#2B109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.7% C 0.203 H 276.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B109F |
|---|---|
| RGB | rgb(43, 16, 159) |
| HSL | hsl(251, 82%, 34%) |
| HSV | hsv(251, 90%, 62%) |
| CMYK | cmyk(73%, 89.9%, 0%, 37.6%) |
| CIE-LAB | lab(21.53, 52.09, -69.71) |
| CIE-LCH | lch(21.53, 87.02, 306.77°) |
| OKLab | oklab(34.74% 0.0219 -0.2013) |
| OKLCH | oklch(34.74% 0.203 276.2) |
| XYZ | xyz(7.4375, 3.3867, 33.0559) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.24
Royal Blue (survey)
#0504AA
ΔE00 2.45
Ultramarine
#2000B1
ΔE00 2.53
Royal
#0C1793
ΔE00 3.13
Indigo Blue
#3A18B1
ΔE00 3.31
Darkblue
#00008B
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B109F #849F10
analogous
#103C9F #2B109F #73109F
triadic
#2B109F #9F2B10 #109F2B
tetradic
#2B109F #9F103C #849F10 #109F73
square
#2B109F #9F103C #849F10 #109F73
split-complementary
#2B109F #9F7310 #3C9F10
monochromatic
#0D0530 #1C0A67 #2B109F #3A16D7 #5F3EEC
Accessibility & contrast
On white
12.52
#2B109F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2B109F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B109F
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B109F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B109F | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b109f; /* rgb */ color: rgb(43, 16, 159); /* oklch */ color: oklch(34.7% 0.203 276.2);
Tailwind
colors: {
custom: {
50: '#7957bd',
500: '#2b109f',
950: '#000000',
},
}SCSS
$custom: #2b109f; $custom-light: #7957bd; $custom-dark: #000000;
JSON
{
"hex": "#2b109f",
"rgb": {
"r": 43,
"g": 16,
"b": 159
},
"hsl": {
"h": 251.329,
"s": 81.714,
"l": 34.314
},
"oklch": {
"l": 0.34745,
"c": 0.20252,
"h": 276.2
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#2B109F
secondary
#B1CB40
accent
#F830D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981