#2E1430#2E1430

#2E1430 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.062 H 324.6°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2E1430
RGBrgb(46, 20, 48)
HSLhsl(296, 41%, 13%)
HSVhsv(296, 58%, 19%)
CMYKcmyk(4.2%, 58.3%, 0%, 81.2%)
CIE-LABlab(11.24, 18.54, -13.07)
CIE-LCHlch(11.24, 22.69, 324.81°)
OKLaboklab(24.25% 0.0506 -0.036)
OKLCHoklch(24.25% 0.062 324.6)
XYZxyz(1.9103, 1.2946, 2.9450)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1430 #163014
analogous
#201430 #2E1430 #301424
triadic
#2E1430 #302E14 #14302E
tetradic
#2E1430 #302014 #163014 #142430
square
#2E1430 #302014 #163014 #142430
split-complementary
#2E1430 #243014 #143020
monochromatic
#150916 #150916 #2E1430 #57265B #813886

Accessibility & contrast

On white

16.68
#2E1430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1430
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1430#FFFFFF#000000##FFFFFF
##2E14301.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C31
Deuteranopia (green-blind)
#181F2F
Tritanopia (blue-blind)
#2F171F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1430;
/* rgb */ color: rgb(46, 20, 48);
/* oklch */ color: oklch(24.2% 0.062 324.6);
Tailwind
colors: {
  custom: {
    50: '#685268',
    500: '#2e1430',
    950: '#000000',
  },
}
SCSS
$custom: #2e1430;
$custom-light: #685268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1430",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 48
  },
  "hsl": {
    "h": 295.714,
    "s": 41.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24247,
    "c": 0.06207,
    "h": 324.6
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#2E1430
secondary
#3C6739
accent
#D15760
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1430

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

Preview Lab → · Contrast checker → · Palette generator →

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