#2E1630#2E1630

#2E1630 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.058 H 324.3°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#2E1630
RGBrgb(46, 22, 48)
HSLhsl(295, 37%, 14%)
HSVhsv(295, 54%, 19%)
CMYKcmyk(4.2%, 54.2%, 0%, 81.2%)
CIE-LABlab(11.74, 17.23, -12.28)
CIE-LCHlch(11.74, 21.16, 324.51°)
OKLaboklab(24.62% 0.047 -0.0337)
OKLCHoklch(24.62% 0.058 324.3)
XYZxyz(1.9471, 1.3681, 2.9573)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1630 #183016
analogous
#211630 #2E1630 #301625
triadic
#2E1630 #302E16 #16302E
tetradic
#2E1630 #302116 #183016 #162530
square
#2E1630 #302116 #183016 #162530
split-complementary
#2E1630 #253016 #163021
monochromatic
#140A15 #140A15 #2E1630 #56295A #7E3C84

Accessibility & contrast

On white

16.49
#2E1630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2E1630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1630
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1630#FFFFFF#000000##FFFFFF
##2E16301.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D31
Deuteranopia (green-blind)
#1A202F
Tritanopia (blue-blind)
#2F1920
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e1630;
/* rgb */ color: rgb(46, 22, 48);
/* oklch */ color: oklch(24.6% 0.058 324.3);
Tailwind
colors: {
  custom: {
    50: '#675468',
    500: '#2e1630',
    950: '#000000',
  },
}
SCSS
$custom: #2e1630;
$custom-light: #675468;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1630",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 48
  },
  "hsl": {
    "h": 295.385,
    "s": 37.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24623,
    "c": 0.05781,
    "h": 324.3
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#2E1630
secondary
#3F663C
accent
#CD5B63
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E1630

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

Preview Lab → · Contrast checker → · Palette generator →

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