#2D082E#2D082E

#2D082E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.082 H 326.8°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2D082E
RGBrgb(45, 8, 46)
HSLhsl(298, 70%, 11%)
HSVhsv(298, 83%, 18%)
CMYKcmyk(2.2%, 82.6%, 0%, 82%)
CIE-LABlab(8.38, 24.67, -16.11)
CIE-LCHlch(8.38, 29.47, 326.87°)
OKLaboklab(22.09% 0.0682 -0.0446)
OKLCHoklch(22.09% 0.082 326.8)
XYZxyz(1.6621, 0.9289, 2.6760)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D082E #092E08
analogous
#1A082E #2D082E #2E081C
triadic
#2D082E #2E2D08 #082E2D
tetradic
#2D082E #2E1A08 #092E08 #081C2E
square
#2D082E #2E1A08 #092E08 #081C2E
split-complementary
#2D082E #1C2E08 #082E1A
monochromatic
#19051A #19051A #2D082E #601162 #931A96

Accessibility & contrast

On white

17.71
#2D082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2D082E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D082E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D082E#FFFFFF#000000##FFFFFF
##2D082E1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#2F0E1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d082e;
/* rgb */ color: rgb(45, 8, 46);
/* oklch */ color: oklch(22.1% 0.082 326.8);
Tailwind
colors: {
  custom: {
    50: '#684b67',
    500: '#2d082e',
    950: '#000000',
  },
}
SCSS
$custom: #2d082e;
$custom-light: #684b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d082e",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 298.421,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.08154,
    "h": 326.8
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#2D082E
secondary
#276D25
accent
#ED3B3F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D082E

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

Preview Lab → · Contrast checker → · Palette generator →

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