#2D042C#2D042C

#2D042C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.087 H 329.2°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2D042C
RGBrgb(45, 4, 44)
HSLhsl(301, 84%, 10%)
HSVhsv(301, 91%, 18%)
CMYKcmyk(0%, 91.1%, 2.2%, 82.4%)
CIE-LABlab(7.47, 26.46, -16.07)
CIE-LCHlch(7.47, 30.96, 328.73°)
OKLaboklab(21.38% 0.0746 -0.0445)
OKLCHoklch(21.38% 0.087 329.2)
XYZxyz(1.5802, 0.8267, 2.4587)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D042C #042D05
analogous
#1A042D #2D042C #2D0418
triadic
#2D042C #2C2D04 #042C2D
tetradic
#2D042C #2D1A04 #042D05 #04182D
square
#2D042C #2D1A04 #042D05 #04182D
split-complementary
#2D042C #182D04 #042D1A
monochromatic
#1C021B #1C021B #2D042C #650963 #9D0E9A

Accessibility & contrast

On white

18.02
#2D042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D042C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D042C
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D042C#FFFFFF#000000##FFFFFF
##2D042C1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#0F182B
Tritanopia (blue-blind)
#2F0917
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d042c;
/* rgb */ color: rgb(45, 4, 44);
/* oklch */ color: oklch(21.4% 0.087 329.2);
Tailwind
colors: {
  custom: {
    50: '#684965',
    500: '#2d042c',
    950: '#000000',
  },
}
SCSS
$custom: #2d042c;
$custom-light: #684965;
$custom-dark: #000000;
JSON
{
  "hex": "#2d042c",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 301.463,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21375,
    "c": 0.0869,
    "h": 329.2
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2D042C
secondary
#1D701F
accent
#FA332E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D042C

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

Preview Lab → · Contrast checker → · Palette generator →

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