#2E0A37#2E0A37

#2E0A37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 318.8°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2E0A37
RGBrgb(46, 10, 55)
HSLhsl(288, 69%, 13%)
HSVhsv(288, 82%, 22%)
CMYKcmyk(16.4%, 81.8%, 0%, 78.4%)
CIE-LABlab(9.59, 25.98, -20.77)
CIE-LCHlch(9.59, 33.26, 321.35°)
OKLaboklab(23.2% 0.0666 -0.0582)
OKLCHoklch(23.2% 0.088 318.8)
XYZxyz(1.9248, 1.0738, 3.7196)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A37 #13370A
analogous
#170A37 #2E0A37 #370A29
triadic
#2E0A37 #372E0A #0A372E
tetradic
#2E0A37 #37170A #13370A #0A2937
square
#2E0A37 #37170A #13370A #0A2937
split-complementary
#2E0A37 #29370A #0A3717
monochromatic
#16051A #16051A #2E0A37 #59136B #851D9F

Accessibility & contrast

On white

17.29
#2E0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0A37
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A37#FFFFFF#000000##FFFFFF
##2E0A371.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#2E131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0a37;
/* rgb */ color: rgb(46, 10, 55);
/* oklch */ color: oklch(23.2% 0.088 318.8);
Tailwind
colors: {
  custom: {
    50: '#694d6e',
    500: '#2e0a37',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a37;
$custom-light: #694d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a37",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 288,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23199,
    "c": 0.08847,
    "h": 318.8
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2E0A37
secondary
#387428
accent
#EC3C5F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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