#2E022A#2E022A

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

Color values

HEX#2E022A
RGBrgb(46, 2, 42)
HSLhsl(305, 92%, 9%)
HSVhsv(305, 96%, 18%)
CMYKcmyk(0%, 95.7%, 8.7%, 82%)
CIE-LABlab(7.15, 27.45, -15.05)
CIE-LCHlch(7.15, 31.31, 331.26°)
OKLaboklab(21.13% 0.0794 -0.0416)
OKLCHoklch(21.13% 0.09 332.3)
XYZxyz(1.5663, 0.7916, 2.2603)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E022A #022E06
analogous
#1C022E #2E022A #2E0214
triadic
#2E022A #2A2E02 #022A2E
tetradic
#2E022A #2E1C02 #022E06 #02142E
square
#2E022A #2E1C02 #022E06 #02142E
split-complementary
#2E022A #142E02 #022E1C
monochromatic
#1D011B #1D011B #2E022A #690560 #A30795

Accessibility & contrast

On white

18.13
#2E022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E022A
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E022A#FFFFFF#000000##FFFFFF
##2E022A1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#101829
Tritanopia (blue-blind)
#300615
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e022a;
/* rgb */ color: rgb(46, 2, 42);
/* oklch */ color: oklch(21.1% 0.090 332.3);
Tailwind
colors: {
  custom: {
    50: '#694863',
    500: '#2e022a',
    950: '#000000',
  },
}
SCSS
$custom: #2e022a;
$custom-light: #694863;
$custom-dark: #000000;
JSON
{
  "hex": "#2e022a",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 305.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21131,
    "c": 0.08966,
    "h": 332.3
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#2E022A
secondary
#197321
accent
#FF3C29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2E022A

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

Preview Lab → · Contrast checker → · Palette generator →

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