#2E012C#2E012C

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

Color values

HEX#2E012C
RGBrgb(46, 1, 44)
HSLhsl(303, 96%, 9%)
HSVhsv(303, 98%, 18%)
CMYKcmyk(0%, 97.8%, 4.3%, 82%)
CIE-LABlab(7.09, 28.43, -16.66)
CIE-LCHlch(7.09, 32.95, 329.63°)
OKLaboklab(21.13% 0.0811 -0.0463)
OKLCHoklch(21.13% 0.093 330.3)
XYZxyz(1.5922, 0.7845, 2.4500)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E012C #012E03
analogous
#1A012E #2E012C #2E0116
triadic
#2E012C #2C2E01 #012C2E
tetradic
#2E012C #2E1A01 #012E03 #01162E
square
#2E012C #2E1A01 #012E03 #01162E
split-complementary
#2E012C #162E01 #012E1A
monochromatic
#1E011D #1E011D #2E012C #6A0265 #A6049F

Accessibility & contrast

On white

18.15
#2E012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E012C
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E012C#FFFFFF#000000##FFFFFF
##2E012C1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e012c;
/* rgb */ color: rgb(46, 1, 44);
/* oklch */ color: oklch(21.1% 0.093 330.3);
Tailwind
colors: {
  custom: {
    50: '#694765',
    500: '#2e012c',
    950: '#000000',
  },
}
SCSS
$custom: #2e012c;
$custom-light: #694765;
$custom-dark: #000000;
JSON
{
  "hex": "#2e012c",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 302.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21128,
    "c": 0.0934,
    "h": 330.3
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#2E012C
secondary
#17741B
accent
#FF3229
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2E012C

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

Preview Lab → · Contrast checker → · Palette generator →

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