#2E152F#2E152F

#2E152F is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.4% C 0.059 H 325.8°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#2E152F
RGBrgb(46, 21, 47)
HSLhsl(298, 38%, 13%)
HSVhsv(298, 55%, 18%)
CMYKcmyk(2.1%, 55.3%, 0%, 81.6%)
CIE-LABlab(11.43, 17.65, -12.04)
CIE-LCHlch(11.43, 21.36, 325.69°)
OKLaboklab(24.37% 0.0486 -0.033)
OKLCHoklch(24.37% 0.059 325.8)
XYZxyz(1.9079, 1.3225, 2.8435)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E152F #162F15
analogous
#21152F #2E152F #2F1523
triadic
#2E152F #2F2E15 #152F2E
tetradic
#2E152F #2F2115 #162F15 #15232F
square
#2E152F #2F2115 #162F15 #15232F
split-complementary
#2E152F #232F15 #152F21
monochromatic
#150915 #150915 #2E152F #572859 #813B84

Accessibility & contrast

On white

16.61
#2E152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E152F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E152F#FFFFFF#000000##FFFFFF
##2E152F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#2F181F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e152f;
/* rgb */ color: rgb(46, 21, 47);
/* oklch */ color: oklch(24.4% 0.059 325.8);
Tailwind
colors: {
  custom: {
    50: '#675367',
    500: '#2e152f',
    950: '#000000',
  },
}
SCSS
$custom: #2e152f;
$custom-light: #675367;
$custom-dark: #000000;
JSON
{
  "hex": "#2e152f",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 297.692,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24373,
    "c": 0.05872,
    "h": 325.8
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#2E152F
secondary
#3C653B
accent
#CE5A5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E152F

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

Preview Lab → · Contrast checker → · Palette generator →

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