#2E1A30#2E1A30

#2E1A30 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.4% C 0.049 H 323.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#2E1A30
RGBrgb(46, 26, 48)
HSLhsl(295, 30%, 15%)
HSVhsv(295, 46%, 19%)
CMYKcmyk(4.2%, 45.8%, 0%, 81.2%)
CIE-LABlab(12.82, 14.51, -10.62)
CIE-LCHlch(12.82, 17.98, 323.79°)
OKLaboklab(25.43% 0.0394 -0.029)
OKLCHoklch(25.43% 0.049 323.6)
XYZxyz(2.0296, 1.5331, 2.9847)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A30 #1C301A
analogous
#231A30 #2E1A30 #301A27
triadic
#2E1A30 #302E1A #1A302E
tetradic
#2E1A30 #30231A #1C301A #1A2730
square
#2E1A30 #30231A #1C301A #1A2730
split-complementary
#2E1A30 #27301A #1A3023
monochromatic
#130B14 #130B14 #2E1A30 #543058 #7A457F

Accessibility & contrast

On white

16.07
#2E1A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E1A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A30
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A30#FFFFFF#000000##FFFFFF
##2E1A301.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182031
Deuteranopia (green-blind)
#1D222F
Tritanopia (blue-blind)
#2F1C22
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1a30;
/* rgb */ color: rgb(46, 26, 48);
/* oklch */ color: oklch(25.4% 0.049 323.6);
Tailwind
colors: {
  custom: {
    50: '#675768',
    500: '#2e1a30',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a30;
$custom-light: #675768;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a30",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 294.545,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25427,
    "c": 0.04896,
    "h": 323.6
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#2E1A30
secondary
#456442
accent
#C6626B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1A30

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

Preview Lab → · Contrast checker → · Palette generator →

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