#2D022E#2D022E

#2D022E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.093 H 327.2°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2D022E
RGBrgb(45, 2, 46)
HSLhsl(299, 92%, 9%)
HSVhsv(299, 96%, 18%)
CMYKcmyk(2.2%, 95.7%, 0%, 82%)
CIE-LABlab(7.21, 28.00, -17.97)
CIE-LCHlch(7.21, 33.27, 327.31°)
OKLaboklab(21.23% 0.0779 -0.0501)
OKLCHoklch(21.23% 0.093 327.2)
XYZxyz(1.5970, 0.7987, 2.6543)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D022E #032E02
analogous
#17022E #2D022E #2E0219
triadic
#2D022E #2E2D02 #022E2D
tetradic
#2D022E #2E1702 #032E02 #02192E
square
#2D022E #2E1702 #032E02 #02192E
split-complementary
#2D022E #192E02 #022E17
monochromatic
#1D011D #1D011D #2D022E #660569 #A007A3

Accessibility & contrast

On white

18.11
#2D022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D022E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D022E#FFFFFF#000000##FFFFFF
##2D022E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#2F0817
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d022e;
/* rgb */ color: rgb(45, 2, 46);
/* oklch */ color: oklch(21.2% 0.093 327.2);
Tailwind
colors: {
  custom: {
    50: '#684867',
    500: '#2d022e',
    950: '#000000',
  },
}
SCSS
$custom: #2d022e;
$custom-light: #684867;
$custom-dark: #000000;
JSON
{
  "hex": "#2d022e",
  "rgb": {
    "r": 45,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 298.636,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21232,
    "c": 0.09263,
    "h": 327.2
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#2D022E
secondary
#1B7319
accent
#FF292E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2D022E

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

Preview Lab → · Contrast checker → · Palette generator →

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