#2E1033#2E1033

#2E1033 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.074 H 321.7°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2E1033
RGBrgb(46, 16, 51)
HSLhsl(291, 52%, 13%)
HSVhsv(291, 69%, 20%)
CMYKcmyk(9.8%, 68.6%, 0%, 80%)
CIE-LABlab(10.49, 21.76, -16.44)
CIE-LCHlch(10.49, 27.27, 322.92°)
OKLaboklab(23.76% 0.0579 -0.0457)
OKLCHoklch(23.76% 0.074 321.7)
XYZxyz(1.9095, 1.1905, 3.2605)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1033 #153310
analogous
#1C1033 #2E1033 #331026
triadic
#2E1033 #332E10 #10332E
tetradic
#2E1033 #331C10 #153310 #102633
square
#2E1033 #331C10 #153310 #102633
split-complementary
#2E1033 #263310 #10331C
monochromatic
#150717 #150717 #2E1033 #581F62 #822D90

Accessibility & contrast

On white

16.96
#2E1033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E1033 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1033
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1033#FFFFFF#000000##FFFFFF
##2E10331.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A34
Deuteranopia (green-blind)
#141E32
Tritanopia (blue-blind)
#2F151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e1033;
/* rgb */ color: rgb(46, 16, 51);
/* oklch */ color: oklch(23.8% 0.074 321.7);
Tailwind
colors: {
  custom: {
    50: '#68506b',
    500: '#2e1033',
    950: '#000000',
  },
}
SCSS
$custom: #2e1033;
$custom-light: #68506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1033",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 291.429,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23755,
    "c": 0.07371,
    "h": 321.7
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#2E1033
secondary
#3B6C32
accent
#DC4C61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1033

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

Preview Lab → · Contrast checker → · Palette generator →

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