#2E012E#2E012E

#2E012E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.095 H 328.3°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#2E012E
RGBrgb(46, 1, 46)
HSLhsl(300, 96%, 9%)
HSVhsv(300, 98%, 18%)
CMYKcmyk(0%, 97.8%, 0%, 82%)
CIE-LABlab(7.23, 28.85, -17.94)
CIE-LCHlch(7.23, 33.97, 328.13°)
OKLaboklab(21.28% 0.0809 -0.05)
OKLCHoklch(21.28% 0.095 328.3)
XYZxyz(1.6307, 0.7999, 2.6528)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E012E #012E01
analogous
#18012E #2E012E #2E0118
triadic
#2E012E #2E2E01 #012E2E
tetradic
#2E012E #2E1801 #012E01 #01182E
square
#2E012E #2E1801 #012E01 #01182E
split-complementary
#2E012E #182E01 #012E18
monochromatic
#1E011E #1E011E #2E012E #6A026A #A604A6

Accessibility & contrast

On white

18.10
#2E012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E012E
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E012E#FFFFFF#000000##FFFFFF
##2E012E1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e012e;
/* rgb */ color: rgb(46, 1, 46);
/* oklch */ color: oklch(21.3% 0.095 328.3);
Tailwind
colors: {
  custom: {
    50: '#694767',
    500: '#2e012e',
    950: '#000000',
  },
}
SCSS
$custom: #2e012e;
$custom-light: #694767;
$custom-dark: #000000;
JSON
{
  "hex": "#2e012e",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21282,
    "c": 0.09511,
    "h": 328.3
  },
  "luminance": 0.008
}

Semantic roles & 50–950 ramp

primary
#2E012E
secondary
#177417
accent
#FF2929
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2E012E

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

Preview Lab → · Contrast checker → · Palette generator →

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