#2E022F#2E022F

#2E022F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.094 H 327.3°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#2E022F
RGBrgb(46, 2, 47)
HSLhsl(299, 92%, 10%)
HSVhsv(299, 96%, 18%)
CMYKcmyk(2.1%, 95.7%, 0%, 81.6%)
CIE-LABlab(7.49, 28.50, -18.25)
CIE-LCHlch(7.49, 33.84, 327.36°)
OKLaboklab(21.51% 0.0791 -0.0508)
OKLCHoklch(21.51% 0.094 327.3)
XYZxyz(1.6615, 0.8296, 2.7614)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E022F #032F02
analogous
#18022F #2E022F #2F021A
triadic
#2E022F #2F2E02 #022F2E
tetradic
#2E022F #2F1802 #032F02 #021A2F
square
#2E022F #2F1802 #032F02 #021A2F
split-complementary
#2E022F #1A2F02 #022F18
monochromatic
#1D011D #1D011D #2E022F #67046A #A107A4

Accessibility & contrast

On white

18.01
#2E022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E022F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E022F#FFFFFF#000000##FFFFFF
##2E022F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#300918
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e022f;
/* rgb */ color: rgb(46, 2, 47);
/* oklch */ color: oklch(21.5% 0.094 327.3);
Tailwind
colors: {
  custom: {
    50: '#694868',
    500: '#2e022f',
    950: '#000000',
  },
}
SCSS
$custom: #2e022f;
$custom-light: #694868;
$custom-dark: #000000;
JSON
{
  "hex": "#2e022f",
  "rgb": {
    "r": 46,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 298.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21506,
    "c": 0.09402,
    "h": 327.3
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#2E022F
secondary
#1B7419
accent
#FF292E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E022F

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

Preview Lab → · Contrast checker → · Palette generator →

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