#2D022C#2D022C

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

Color values

HEX#2D022C
RGBrgb(45, 2, 44)
HSLhsl(301, 91%, 9%)
HSVhsv(301, 96%, 18%)
CMYKcmyk(0%, 95.6%, 2.2%, 82.4%)
CIE-LABlab(7.08, 27.56, -16.69)
CIE-LCHlch(7.08, 32.22, 328.80°)
OKLaboklab(21.08% 0.0781 -0.0464)
OKLCHoklch(21.08% 0.091 329.2)
XYZxyz(1.5585, 0.7833, 2.4515)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D022C #022D03
analogous
#19022D #2D022C #2D0217
triadic
#2D022C #2C2D02 #022C2D
tetradic
#2D022C #2D1902 #022D03 #02172D
square
#2D022C #2D1902 #022D03 #02172D
split-complementary
#2D022C #172D02 #022D19
monochromatic
#1D011D #1D011D #2D022C #680565 #A2079F

Accessibility & contrast

On white

18.16
#2D022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2D022C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D022C
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D022C#FFFFFF#000000##FFFFFF
##2D022C1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#0E182B
Tritanopia (blue-blind)
#2F0716
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d022c;
/* rgb */ color: rgb(45, 2, 44);
/* oklch */ color: oklch(21.1% 0.091 329.2);
Tailwind
colors: {
  custom: {
    50: '#684865',
    500: '#2d022c',
    950: '#000000',
  },
}
SCSS
$custom: #2d022c;
$custom-light: #684865;
$custom-dark: #000000;
JSON
{
  "hex": "#2d022c",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 301.395,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21078,
    "c": 0.09084,
    "h": 329.2
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#2D022C
secondary
#19721B
accent
#FF2E29
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2D022C

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

Preview Lab → · Contrast checker → · Palette generator →

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