#2E0E37#2E0E37

#2E0E37 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.082 H 318.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2E0E37
RGBrgb(46, 14, 55)
HSLhsl(287, 59%, 14%)
HSVhsv(287, 75%, 22%)
CMYKcmyk(16.4%, 74.5%, 0%, 78.4%)
CIE-LABlab(10.34, 23.88, -19.57)
CIE-LCHlch(10.34, 30.88, 320.66°)
OKLaboklab(23.74% 0.0611 -0.0548)
OKLCHoklch(23.74% 0.082 318.1)
XYZxyz(1.9732, 1.1708, 3.7357)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0E37 #17370E
analogous
#190E37 #2E0E37 #370E2B
triadic
#2E0E37 #372E0E #0E372E
tetradic
#2E0E37 #37190E #17370E #0E2B37
square
#2E0E37 #37190E #17370E #0E2B37
split-complementary
#2E0E37 #2B370E #0E3719
monochromatic
#140618 #140618 #2E0E37 #571A68 #802799

Accessibility & contrast

On white

17.02
#2E0E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E0E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0E37
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0E37#FFFFFF#000000##FFFFFF
##2E0E371.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#2E1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0e37;
/* rgb */ color: rgb(46, 14, 55);
/* oklch */ color: oklch(23.7% 0.082 318.1);
Tailwind
colors: {
  custom: {
    50: '#684f6e',
    500: '#2e0e37',
    950: '#000000',
  },
}
SCSS
$custom: #2e0e37;
$custom-light: #684f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0e37",
  "rgb": {
    "r": 46,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 286.829,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23737,
    "c": 0.08207,
    "h": 318.1
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#2E0E37
secondary
#3E722F
accent
#E34568
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E0E37

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

Preview Lab → · Contrast checker → · Palette generator →

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