#2D0D3B#2D0D3B

#2D0D3B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.088 H 313.7°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#2D0D3B
RGBrgb(45, 13, 59)
HSLhsl(282, 64%, 14%)
HSVhsv(282, 78%, 23%)
CMYKcmyk(23.7%, 78%, 0%, 76.9%)
CIE-LABlab(10.27, 25.15, -22.57)
CIE-LCHlch(10.27, 33.80, 318.09°)
OKLaboklab(23.75% 0.0608 -0.0636)
OKLCHoklch(23.75% 0.088 313.7)
XYZxyz(2.0154, 1.1616, 4.2549)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D3B #1B3B0D
analogous
#160D3B #2D0D3B #3B0D32
triadic
#2D0D3B #3B2D0D #0D3B2D
tetradic
#2D0D3B #3B160D #1B3B0D #0D323B
square
#2D0D3B #3B160D #1B3B0D #0D323B
split-complementary
#2D0D3B #323B0D #0D3B16
monochromatic
#130619 #130619 #2D0D3B #53186D #7A239F

Accessibility & contrast

On white

17.04
#2D0D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D3B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D3B#FFFFFF#000000##FFFFFF
##2D0D3B1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#0A1D3A
Tritanopia (blue-blind)
#2C1622
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0d3b;
/* rgb */ color: rgb(45, 13, 59);
/* oklch */ color: oklch(23.7% 0.088 313.7);
Tailwind
colors: {
  custom: {
    50: '#684e71',
    500: '#2d0d3b',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d3b;
$custom-light: #684e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d3b",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 281.739,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23748,
    "c": 0.08797,
    "h": 313.7
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#2D0D3B
secondary
#44772D
accent
#E74173
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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