#2E1135#2E1135

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

Color values

HEX#2E1135
RGBrgb(46, 17, 53)
HSLhsl(288, 51%, 14%)
HSVhsv(288, 68%, 21%)
CMYKcmyk(13.2%, 67.9%, 0%, 79.2%)
CIE-LABlab(10.84, 21.64, -17.33)
CIE-LCHlch(10.84, 27.73, 321.31°)
OKLaboklab(24.06% 0.0564 -0.0483)
OKLCHoklch(24.06% 0.074 319.5)
XYZxyz(1.9697, 1.2389, 3.5028)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1135 #183511
analogous
#1C1135 #2E1135 #35112A
triadic
#2E1135 #352E11 #11352E
tetradic
#2E1135 #351C11 #183511 #112A35
square
#2E1135 #351C11 #183511 #112A35
split-complementary
#2E1135 #2A3511 #11351C
monochromatic
#140717 #140717 #2E1135 #562063 #7E2F92

Accessibility & contrast

On white

16.83
#2E1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2E1135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1135
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1135#FFFFFF#000000##FFFFFF
##2E11351.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#2E1721
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1135;
/* rgb */ color: rgb(46, 17, 53);
/* oklch */ color: oklch(24.1% 0.074 319.5);
Tailwind
colors: {
  custom: {
    50: '#68516c',
    500: '#2e1135',
    950: '#000000',
  },
}
SCSS
$custom: #2e1135;
$custom-light: #68516c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1135",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 288.333,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.07424,
    "h": 319.5
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2E1135
secondary
#3F6E34
accent
#DB4D69
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E1135

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

Preview Lab → · Contrast checker → · Palette generator →

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