#2E1333#2E1333

#2E1333 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.068 H 321.2°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2E1333
RGBrgb(46, 19, 51)
HSLhsl(291, 46%, 14%)
HSVhsv(291, 63%, 20%)
CMYKcmyk(9.8%, 62.7%, 0%, 80%)
CIE-LABlab(11.18, 19.91, -15.35)
CIE-LCHlch(11.18, 25.14, 322.36°)
OKLaboklab(24.26% 0.0529 -0.0425)
OKLCHoklch(24.26% 0.068 321.2)
XYZxyz(1.9571, 1.2857, 3.2764)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1333 #183313
analogous
#1E1333 #2E1333 #331328
triadic
#2E1333 #332E13 #13332E
tetradic
#2E1333 #331E13 #183313 #132833
square
#2E1333 #331E13 #183313 #132833
split-complementary
#2E1333 #283313 #13331E
monochromatic
#140816 #140816 #2E1333 #562460 #7E348C

Accessibility & contrast

On white

16.70
#2E1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E1333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1333
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1333#FFFFFF#000000##FFFFFF
##2E13331.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C34
Deuteranopia (green-blind)
#161F32
Tritanopia (blue-blind)
#2F1720
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1333;
/* rgb */ color: rgb(46, 19, 51);
/* oklch */ color: oklch(24.3% 0.068 321.2);
Tailwind
colors: {
  custom: {
    50: '#68526b',
    500: '#2e1333',
    950: '#000000',
  },
}
SCSS
$custom: #2e1333;
$custom-light: #68526b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1333",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 290.625,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.06785,
    "h": 321.2
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#2E1333
secondary
#3F6B37
accent
#D55267
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1333

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

Preview Lab → · Contrast checker → · Palette generator →

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