#2E102D#2E102D

#2E102D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.067 H 328.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2E102D
RGBrgb(46, 16, 45)
HSLhsl(302, 48%, 12%)
HSVhsv(302, 65%, 18%)
CMYKcmyk(0%, 65.2%, 2.2%, 82%)
CIE-LABlab(10.11, 20.35, -12.63)
CIE-LCHlch(10.11, 23.95, 328.18°)
OKLaboklab(23.36% 0.0571 -0.0346)
OKLCHoklch(23.36% 0.067 328.7)
XYZxyz(1.7856, 1.1410, 2.6083)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E102D #102E11
analogous
#20102E #2E102D #2E101E
triadic
#2E102D #2D2E10 #102D2E
tetradic
#2E102D #2E2010 #102E11 #101E2E
square
#2E102D #2E2010 #102E11 #101E2E
split-complementary
#2E102D #1E2E10 #102E20
monochromatic
#170816 #170816 #2E102D #5B2059 #893086

Accessibility & contrast

On white

17.10
#2E102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2E102D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E102D
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E102D#FFFFFF#000000##FFFFFF
##2E102D1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192E
Deuteranopia (green-blind)
#171D2C
Tritanopia (blue-blind)
#30131C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e102d;
/* rgb */ color: rgb(46, 16, 45);
/* oklch */ color: oklch(23.4% 0.067 328.7);
Tailwind
colors: {
  custom: {
    50: '#685066',
    500: '#2e102d',
    950: '#000000',
  },
}
SCSS
$custom: #2e102d;
$custom-light: #685066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e102d",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 302,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23361,
    "c": 0.06677,
    "h": 328.7
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#2E102D
secondary
#336735
accent
#D85450
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E102D

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

Preview Lab → · Contrast checker → · Palette generator →

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