#2D0D3D#2D0D3D

#2D0D3D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.090 H 312.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2D0D3D
RGBrgb(45, 13, 61)
HSLhsl(280, 65%, 15%)
HSVhsv(280, 79%, 24%)
CMYKcmyk(26.2%, 78.7%, 0%, 76.1%)
CIE-LABlab(10.43, 25.67, -23.75)
CIE-LCHlch(10.43, 34.97, 317.23°)
OKLaboklab(23.91% 0.0606 -0.067)
OKLCHoklch(23.91% 0.09 312.1)
XYZxyz(2.0683, 1.1827, 4.5333)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D3D #1D3D0D
analogous
#150D3D #2D0D3D #3D0D35
triadic
#2D0D3D #3D2D0D #0D3D2D
tetradic
#2D0D3D #3D150D #1D3D0D #0D353D
square
#2D0D3D #3D150D #1D3D0D #0D353D
split-complementary
#2D0D3D #353D0D #0D3D15
monochromatic
#130519 #130519 #2D0D3D #52186F #7723A2

Accessibility & contrast

On white

16.98
#2D0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D3D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D3D#FFFFFF#000000##FFFFFF
##2D0D3D1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#081D3C
Tritanopia (blue-blind)
#2B1723
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0d3d;
/* rgb */ color: rgb(45, 13, 61);
/* oklch */ color: oklch(23.9% 0.090 312.1);
Tailwind
colors: {
  custom: {
    50: '#684f73',
    500: '#2d0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d3d;
$custom-light: #684f73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d3d",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 280,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23912,
    "c": 0.09036,
    "h": 312.1
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#2D0D3D
secondary
#46792D
accent
#E84078
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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