#2D082F#2D082F

#2D082F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.083 H 325.7°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2D082F
RGBrgb(45, 8, 47)
HSLhsl(297, 71%, 11%)
HSVhsv(297, 83%, 18%)
CMYKcmyk(4.3%, 83%, 0%, 81.6%)
CIE-LABlab(8.45, 24.89, -16.74)
CIE-LCHlch(8.45, 30.00, 326.08°)
OKLaboklab(22.16% 0.0682 -0.0465)
OKLCHoklch(22.16% 0.083 325.7)
XYZxyz(1.6821, 0.9369, 2.7810)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D082F #0A2F08
analogous
#19082F #2D082F #2F081D
triadic
#2D082F #2F2D08 #082F2D
tetradic
#2D082F #2F1908 #0A2F08 #081D2F
square
#2D082F #2F1908 #0A2F08 #081D2F
split-complementary
#2D082F #1D2F08 #082F19
monochromatic
#19041A #19041A #2D082F #5F1163 #911A98

Accessibility & contrast

On white

17.69
#2D082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D082F
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D082F#FFFFFF#000000##FFFFFF
##2D082F1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#2E0E1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d082f;
/* rgb */ color: rgb(45, 8, 47);
/* oklch */ color: oklch(22.2% 0.083 325.7);
Tailwind
colors: {
  custom: {
    50: '#684b67',
    500: '#2d082f',
    950: '#000000',
  },
}
SCSS
$custom: #2d082f;
$custom-light: #684b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d082f",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 296.923,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22158,
    "c": 0.08257,
    "h": 325.7
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#2D082F
secondary
#296E25
accent
#EE3A43
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D082F

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

Preview Lab → · Contrast checker → · Palette generator →

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