#2D052B#2D052B

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

Color values

HEX#2D052B
RGBrgb(45, 5, 43)
HSLhsl(303, 80%, 10%)
HSVhsv(303, 89%, 18%)
CMYKcmyk(0%, 88.9%, 4.4%, 82.4%)
CIE-LABlab(7.60, 25.70, -15.11)
CIE-LCHlch(7.60, 29.81, 329.54°)
OKLaboklab(21.45% 0.0729 -0.0418)
OKLCHoklch(21.45% 0.084 330.2)
XYZxyz(1.5725, 0.8410, 2.3645)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D052B #052D07
analogous
#1B052D #2D052B #2D0517
triadic
#2D052B #2B2D05 #052B2D
tetradic
#2D052B #2D1B05 #052D07 #05172D
square
#2D052B #2D1B05 #052D07 #05172D
split-complementary
#2D052B #172D05 #052D1B
monochromatic
#1C031A #1C031A #2D052B #640B60 #9B1194

Accessibility & contrast

On white

17.98
#2D052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D052B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D052B#FFFFFF#000000##FFFFFF
##2D052B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#2F0A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d052b;
/* rgb */ color: rgb(45, 5, 43);
/* oklch */ color: oklch(21.4% 0.084 330.2);
Tailwind
colors: {
  custom: {
    50: '#684964',
    500: '#2d052b',
    950: '#000000',
  },
}
SCSS
$custom: #2d052b;
$custom-light: #684964;
$custom-dark: #000000;
JSON
{
  "hex": "#2d052b",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 303,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21448,
    "c": 0.08404,
    "h": 330.2
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#2D052B
secondary
#1F6F23
accent
#F63B31
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D052B

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

Preview Lab → · Contrast checker → · Palette generator →

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