#2D062C#2D062C

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

Color values

HEX#2D062C
RGBrgb(45, 6, 44)
HSLhsl(302, 76%, 10%)
HSVhsv(302, 87%, 18%)
CMYKcmyk(0%, 86.7%, 2.2%, 82.4%)
CIE-LABlab(7.86, 25.35, -15.45)
CIE-LCHlch(7.86, 29.69, 328.64°)
OKLaboklab(21.66% 0.0713 -0.0427)
OKLCHoklch(21.66% 0.083 329.1)
XYZxyz(1.6019, 0.8701, 2.4660)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D062C #062D07
analogous
#1A062D #2D062C #2D0619
triadic
#2D062C #2C2D06 #062C2D
tetradic
#2D062C #2D1A06 #062D07 #06192D
square
#2D062C #2D1A06 #062D07 #06192D
split-complementary
#2D062C #192D06 #062D1A
monochromatic
#1B041A #1B041A #2D062C #630D61 #991496

Accessibility & contrast

On white

17.89
#2D062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D062C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D062C#FFFFFF#000000##FFFFFF
##2D062C1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#2F0B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d062c;
/* rgb */ color: rgb(45, 6, 44);
/* oklch */ color: oklch(21.7% 0.083 329.1);
Tailwind
colors: {
  custom: {
    50: '#684a65',
    500: '#2d062c',
    950: '#000000',
  },
}
SCSS
$custom: #2d062c;
$custom-light: #684a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d062c",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 301.538,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.21663,
    "c": 0.08313,
    "h": 329.1
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#2D062C
secondary
#216E23
accent
#F33A35
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D062C

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

Preview Lab → · Contrast checker → · Palette generator →

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