#2D082B#2D082B

#2D082B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.079 H 330.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2D082B
RGBrgb(45, 8, 43)
HSLhsl(303, 70%, 10%)
HSVhsv(303, 82%, 18%)
CMYKcmyk(0%, 82.2%, 4.4%, 82.4%)
CIE-LABlab(8.18, 24.04, -14.19)
CIE-LCHlch(8.18, 27.92, 329.45°)
OKLaboklab(21.88% 0.0681 -0.0391)
OKLCHoklch(21.88% 0.079 330.1)
XYZxyz(1.6051, 0.9061, 2.3754)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D082B #082D0A
analogous
#1C082D #2D082B #2D0818
triadic
#2D082B #2B2D08 #082B2D
tetradic
#2D082B #2D1C08 #082D0A #08182D
square
#2D082B #2D1C08 #082D0A #08182D
split-complementary
#2D082B #182D08 #082D1C
monochromatic
#1A0519 #1A0519 #2D082B #61115D #951A8E

Accessibility & contrast

On white

17.78
#2D082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2D082B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D082B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D082B#FFFFFF#000000##FFFFFF
##2D082B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152C
Deuteranopia (green-blind)
#121A2A
Tritanopia (blue-blind)
#2F0C18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d082b;
/* rgb */ color: rgb(45, 8, 43);
/* oklch */ color: oklch(21.9% 0.079 330.1);
Tailwind
colors: {
  custom: {
    50: '#684b64',
    500: '#2d082b',
    950: '#000000',
  },
}
SCSS
$custom: #2d082b;
$custom-light: #684b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d082b",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 303.243,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.07851,
    "h": 330.1
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2D082B
secondary
#256C29
accent
#ED453B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D082B

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

Preview Lab → · Contrast checker → · Palette generator →

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