#2D0FBF#2D0FBF
#2D0FBF is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.8% C 0.237 H 273.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D0FBF |
|---|---|
| RGB | rgb(45, 15, 191) |
| HSL | hsl(250, 85%, 40%) |
| HSV | hsv(250, 92%, 75%) |
| CMYK | cmyk(76.4%, 92.1%, 0%, 25.1%) |
| CIE-LAB | lab(25.74, 61.15, -81.94) |
| CIE-LCH | lch(25.74, 102.24, 306.74°) |
| OKLab | oklab(38.8% 0.0142 -0.2367) |
| OKLCH | oklch(38.8% 0.237 273.4) |
| XYZ | xyz(10.6539, 4.6600, 49.6181) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
True Blue
#010FCC
ΔE00 1.96
Indigo Blue
#3A18B1
ΔE00 2.03
Mediumblue
#0000CD
ΔE00 2.14
Ultramarine
#2000B1
ΔE00 2.84
Ultramarine Blue
#1805DB
ΔE00 3.13
Pure Blue
#0203E2
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D0FBF #A1BF0F
analogous
#0F49BF #2D0FBF #850FBF
triadic
#2D0FBF #BF2D0F #0FBF2D
tetradic
#2D0FBF #BF0F49 #A1BF0F #0FBF85
square
#2D0FBF #BF0F49 #A1BF0F #0FBF85
split-complementary
#2D0FBF #BF850F #49BF0F
monochromatic
#12064E #200B86 #2D0FBF #411EED #7157F2
Accessibility & contrast
On white
10.87
#2D0FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D0FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D0FBF
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D0FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D0FBF | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044C3
Deuteranopia (green-blind)
#0035BC
Tritanopia (blue-blind)
#005070
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d0fbf; /* rgb */ color: rgb(45, 15, 191); /* oklch */ color: oklch(38.8% 0.237 273.4);
Tailwind
colors: {
custom: {
50: '#815ad4',
500: '#2d0fbf',
950: '#000000',
},
}SCSS
$custom: #2d0fbf; $custom-light: #815ad4; $custom-dark: #000000;
JSON
{
"hex": "#2d0fbf",
"rgb": {
"r": 45,
"g": 15,
"b": 191
},
"hsl": {
"h": 250.227,
"s": 85.437,
"l": 40.392
},
"oklch": {
"l": 0.38797,
"c": 0.23708,
"h": 273.4
},
"luminance": 0.04661
}Semantic roles & 50–950 ramp
primary
#2D0FBF
secondary
#BFD455
accent
#FC2CD8
background
#F8F5FD
surface
#F0E9FA
border
#CBC5D3
text
#0D0414
muted
#7D7983