#2E012D#2E012D

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

Color values

HEX#2E012D
RGBrgb(46, 1, 45)
HSLhsl(301, 96%, 9%)
HSVhsv(301, 98%, 18%)
CMYKcmyk(0%, 97.8%, 2.2%, 82%)
CIE-LABlab(7.16, 28.64, -17.30)
CIE-LCHlch(7.16, 33.46, 328.86°)
OKLaboklab(21.21% 0.081 -0.0481)
OKLCHoklch(21.21% 0.094 329.3)
XYZxyz(1.6112, 0.7921, 2.5502)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E012D #012E02
analogous
#19012E #2E012D #2E0117
triadic
#2E012D #2D2E01 #012D2E
tetradic
#2E012D #2E1901 #012E02 #01172E
square
#2E012D #2E1901 #012E02 #01172E
split-complementary
#2E012D #172E01 #012E19
monochromatic
#1E011D #1E011D #2E012D #6A0268 #A604A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E012D#FFFFFF#000000##FFFFFF
##2E012D1.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)
#00122E
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#300717
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e012d;
/* rgb */ color: rgb(46, 1, 45);
/* oklch */ color: oklch(21.2% 0.094 329.3);
Tailwind
colors: {
  custom: {
    50: '#694766',
    500: '#2e012d',
    950: '#000000',
  },
}
SCSS
$custom: #2e012d;
$custom-light: #694766;
$custom-dark: #000000;
JSON
{
  "hex": "#2e012d",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 301.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21205,
    "c": 0.09426,
    "h": 329.3
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#2E012D
secondary
#177419
accent
#FF2E29
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2E012D

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

Preview Lab → · Contrast checker → · Palette generator →

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