#2D092A#2D092A

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

Color values

HEX#2D092A
RGBrgb(45, 9, 42)
HSLhsl(305, 67%, 11%)
HSVhsv(305, 80%, 18%)
CMYKcmyk(0%, 80%, 6.7%, 82.4%)
CIE-LABlab(8.31, 23.29, -13.24)
CIE-LCHlch(8.31, 26.79, 330.39°)
OKLaboklab(21.95% 0.0665 -0.0364)
OKLCHoklch(21.95% 0.076 331.3)
XYZxyz(1.5978, 0.9206, 2.2836)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D092A #092D0C
analogous
#1E092D #2D092A #2D0918
triadic
#2D092A #2A2D09 #092A2D
tetradic
#2D092A #2D1E09 #092D0C #09182D
square
#2D092A #2D1E09 #092D0C #09182D
split-complementary
#2D092A #182D09 #092D1E
monochromatic
#1A0518 #1A0518 #2D092A #60135A #931D89

Accessibility & contrast

On white

17.74
#2D092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D092A
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D092A#FFFFFF#000000##FFFFFF
##2D092A1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152B
Deuteranopia (green-blind)
#131A29
Tritanopia (blue-blind)
#2F0D18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d092a;
/* rgb */ color: rgb(45, 9, 42);
/* oklch */ color: oklch(21.9% 0.076 331.3);
Tailwind
colors: {
  custom: {
    50: '#684b63',
    500: '#2d092a',
    950: '#000000',
  },
}
SCSS
$custom: #2d092a;
$custom-light: #684b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d092a",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 305,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21946,
    "c": 0.07575,
    "h": 331.3
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2D092A
secondary
#276B2D
accent
#EA4C3E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D092A

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

Preview Lab → · Contrast checker → · Palette generator →

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