#2E1330#2E1330

#2E1330 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.1% C 0.064 H 324.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2E1330
RGBrgb(46, 19, 48)
HSLhsl(296, 43%, 13%)
HSVhsv(296, 60%, 19%)
CMYKcmyk(4.2%, 60.4%, 0%, 81.2%)
CIE-LABlab(10.99, 19.18, -13.46)
CIE-LCHlch(10.99, 23.43, 324.95°)
OKLaboklab(24.07% 0.0524 -0.0371)
OKLCHoklch(24.07% 0.064 324.7)
XYZxyz(1.8930, 1.2601, 2.9392)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1330 #153013
analogous
#1F1330 #2E1330 #301323
triadic
#2E1330 #302E13 #13302E
tetradic
#2E1330 #301F13 #153013 #132330
square
#2E1330 #301F13 #153013 #132330
split-complementary
#2E1330 #233013 #13301F
monochromatic
#150916 #150916 #2E1330 #58245C #823688

Accessibility & contrast

On white

16.77
#2E1330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1330
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1330#FFFFFF#000000##FFFFFF
##2E13301.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B31
Deuteranopia (green-blind)
#181F2F
Tritanopia (blue-blind)
#2F161F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e1330;
/* rgb */ color: rgb(46, 19, 48);
/* oklch */ color: oklch(24.1% 0.064 324.7);
Tailwind
colors: {
  custom: {
    50: '#685268',
    500: '#2e1330',
    950: '#000000',
  },
}
SCSS
$custom: #2e1330;
$custom-light: #685268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1330",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 295.862,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24066,
    "c": 0.06416,
    "h": 324.7
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#2E1330
secondary
#3B6737
accent
#D3555D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1330

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

Preview Lab → · Contrast checker → · Palette generator →

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