#2D0D3C#2D0D3C

#2D0D3C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.089 H 312.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2D0D3C
RGBrgb(45, 13, 60)
HSLhsl(281, 64%, 14%)
HSVhsv(281, 78%, 24%)
CMYKcmyk(25%, 78.3%, 0%, 76.5%)
CIE-LABlab(10.35, 25.41, -23.17)
CIE-LCHlch(10.35, 34.39, 317.65°)
OKLaboklab(23.83% 0.0607 -0.0653)
OKLCHoklch(23.83% 0.089 312.9)
XYZxyz(2.0416, 1.1720, 4.3928)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D3C #1C3C0D
analogous
#160D3C #2D0D3C #3C0D34
triadic
#2D0D3C #3C2D0D #0D3C2D
tetradic
#2D0D3C #3C160D #1C3C0D #0D343C
square
#2D0D3C #3C160D #1C3C0D #0D343C
split-complementary
#2D0D3C #343C0D #0D3C16
monochromatic
#130519 #130519 #2D0D3C #53186E #7823A1

Accessibility & contrast

On white

17.01
#2D0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D3C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D3C#FFFFFF#000000##FFFFFF
##2D0D3C1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#091D3B
Tritanopia (blue-blind)
#2B1723
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0d3c;
/* rgb */ color: rgb(45, 13, 60);
/* oklch */ color: oklch(23.8% 0.089 312.9);
Tailwind
colors: {
  custom: {
    50: '#684e72',
    500: '#2d0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d3c;
$custom-light: #684e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d3c",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 280.851,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.08917,
    "h": 312.9
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2D0D3C
secondary
#45782D
accent
#E74076
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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