#2E1534#2E1534

#2E1534 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.7% C 0.065 H 319.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2E1534
RGBrgb(46, 21, 52)
HSLhsl(288, 42%, 14%)
HSVhsv(288, 60%, 20%)
CMYKcmyk(11.5%, 59.6%, 0%, 79.6%)
CIE-LABlab(11.72, 18.87, -15.21)
CIE-LCHlch(11.72, 24.24, 321.13°)
OKLaboklab(24.69% 0.0495 -0.0421)
OKLCHoklch(24.69% 0.065 319.6)
XYZxyz(2.0146, 1.3652, 3.4055)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1534 #1B3415
analogous
#1F1534 #2E1534 #34152B
triadic
#2E1534 #342E15 #15342E
tetradic
#2E1534 #341F15 #1B3415 #152B34
square
#2E1534 #341F15 #1B3415 #152B34
split-complementary
#2E1534 #2B3415 #15341F
monochromatic
#130916 #130916 #2E1534 #552760 #7B388B

Accessibility & contrast

On white

16.50
#2E1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E1534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1534
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1534#FFFFFF#000000##FFFFFF
##2E15341.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D35
Deuteranopia (green-blind)
#172033
Tritanopia (blue-blind)
#2E1922
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1534;
/* rgb */ color: rgb(46, 21, 52);
/* oklch */ color: oklch(24.7% 0.065 319.6);
Tailwind
colors: {
  custom: {
    50: '#68536b',
    500: '#2e1534',
    950: '#000000',
  },
}
SCSS
$custom: #2e1534;
$custom-light: #68536b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1534",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 288.387,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24685,
    "c": 0.06504,
    "h": 319.6
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#2E1534
secondary
#436B3A
accent
#D2566E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1534

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

Preview Lab → · Contrast checker → · Palette generator →

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