#2E1830#2E1830

#2E1830 is a dark, muted purple. Relative luminance 0.014; OKLCH L 25.0% C 0.053 H 324.0°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#2E1830
RGBrgb(46, 24, 48)
HSLhsl(295, 33%, 14%)
HSVhsv(295, 50%, 19%)
CMYKcmyk(4.2%, 50%, 0%, 81.2%)
CIE-LABlab(12.27, 15.88, -11.46)
CIE-LCHlch(12.27, 19.58, 324.17°)
OKLaboklab(25.02% 0.0432 -0.0314)
OKLCHoklch(25.02% 0.053 324)
XYZxyz(1.9868, 1.4476, 2.9705)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1830 #1A3018
analogous
#221830 #2E1830 #301826
triadic
#2E1830 #302E18 #18302E
tetradic
#2E1830 #302218 #1A3018 #182630
square
#2E1830 #302218 #1A3018 #182630
split-complementary
#2E1830 #263018 #183022
monochromatic
#140A14 #140A14 #2E1830 #552C59 #7C4182

Accessibility & contrast

On white

16.28
#2E1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E1830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1830
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1830#FFFFFF#000000##FFFFFF
##2E18301.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E31
Deuteranopia (green-blind)
#1B212F
Tritanopia (blue-blind)
#2F1B21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e1830;
/* rgb */ color: rgb(46, 24, 48);
/* oklch */ color: oklch(25.0% 0.053 324.0);
Tailwind
colors: {
  custom: {
    50: '#675568',
    500: '#2e1830',
    950: '#000000',
  },
}
SCSS
$custom: #2e1830;
$custom-light: #675568;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1830",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 295,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.05343,
    "h": 324
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#2E1830
secondary
#42653F
accent
#C95E67
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2E1830

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

Preview Lab → · Contrast checker → · Palette generator →

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