#2D0B3F#2D0B3F

#2D0B3F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.096 H 311.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2D0B3F
RGBrgb(45, 11, 63)
HSLhsl(279, 70%, 15%)
HSVhsv(279, 83%, 25%)
CMYKcmyk(28.6%, 82.5%, 0%, 75.3%)
CIE-LABlab(10.23, 27.22, -25.50)
CIE-LCHlch(10.23, 37.29, 316.87°)
OKLaboklab(23.82% 0.0628 -0.0722)
OKLCHoklch(23.82% 0.096 311)
XYZxyz(2.0989, 1.1562, 4.8143)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B3F #1D3F0B
analogous
#130B3F #2D0B3F #3F0B37
triadic
#2D0B3F #3F2D0B #0B3F2D
tetradic
#2D0B3F #3F130B #1D3F0B #0B373F
square
#2D0B3F #3F130B #1D3F0B #0B373F
split-complementary
#2D0B3F #373F0B #0B3F13
monochromatic
#13051A #13051A #2D0B3F #521473 #771DA7

Accessibility & contrast

On white

17.06
#2D0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B3F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B3F#FFFFFF#000000##FFFFFF
##2D0B3F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#041D3E
Tritanopia (blue-blind)
#2B1724
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0b3f;
/* rgb */ color: rgb(45, 11, 63);
/* oklch */ color: oklch(23.8% 0.096 311.0);
Tailwind
colors: {
  custom: {
    50: '#684e74',
    500: '#2d0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b3f;
$custom-light: #684e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b3f",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 279.231,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.09566,
    "h": 311
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#2D0B3F
secondary
#467C2A
accent
#ED3B78
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0B3F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D0B3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva