#2E0D34#2E0D34

#2E0D34 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.080 H 321.2°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2E0D34
RGBrgb(46, 13, 52)
HSLhsl(291, 60%, 13%)
HSVhsv(291, 75%, 20%)
CMYKcmyk(11.5%, 75%, 0%, 79.6%)
CIE-LABlab(9.93, 23.71, -18.05)
CIE-LCHlch(9.93, 29.80, 322.71°)
OKLaboklab(23.37% 0.0626 -0.0503)
OKLCHoklch(23.37% 0.08 321.2)
XYZxyz(1.8904, 1.1167, 3.3641)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D34 #13340D
analogous
#1A0D34 #2E0D34 #340D26
triadic
#2E0D34 #342E0D #0D342E
tetradic
#2E0D34 #341A0D #13340D #0D2634
square
#2E0D34 #341A0D #13340D #0D2634
split-complementary
#2E0D34 #26340D #0D341A
monochromatic
#160618 #160618 #2E0D34 #591965 #852596

Accessibility & contrast

On white

17.17
#2E0D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E0D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0D34
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D34#FFFFFF#000000##FFFFFF
##2E0D341.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#111D33
Tritanopia (blue-blind)
#2E131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0d34;
/* rgb */ color: rgb(46, 13, 52);
/* oklch */ color: oklch(23.4% 0.080 321.2);
Tailwind
colors: {
  custom: {
    50: '#684e6b',
    500: '#2e0d34',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d34;
$custom-light: #684e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d34",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 290.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23371,
    "c": 0.08029,
    "h": 321.2
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#2E0D34
secondary
#386F2D
accent
#E3455D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E0D34

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

Preview Lab → · Contrast checker → · Palette generator →

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