#2E102E#2E102E

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

Color values

HEX#2E102E
RGBrgb(46, 16, 46)
HSLhsl(300, 48%, 12%)
HSVhsv(300, 65%, 18%)
CMYKcmyk(0%, 65.2%, 0%, 82%)
CIE-LABlab(10.17, 20.58, -13.27)
CIE-LCHlch(10.17, 24.49, 327.18°)
OKLaboklab(23.42% 0.0572 -0.0365)
OKLCHoklch(23.42% 0.068 327.5)
XYZxyz(1.8051, 1.1488, 2.7109)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E102E #102E10
analogous
#1F102E #2E102E #2E101F
triadic
#2E102E #2E2E10 #102E2E
tetradic
#2E102E #2E1F10 #102E10 #101F2E
square
#2E102E #2E1F10 #102E10 #101F2E
split-complementary
#2E102E #1F2E10 #102E1F
monochromatic
#170817 #170817 #2E102E #5B205B #893089

Accessibility & contrast

On white

17.08
#2E102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E102E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E102E#FFFFFF#000000##FFFFFF
##2E102E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#30131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e102e;
/* rgb */ color: rgb(46, 16, 46);
/* oklch */ color: oklch(23.4% 0.068 327.5);
Tailwind
colors: {
  custom: {
    50: '#685066',
    500: '#2e102e',
    950: '#000000',
  },
}
SCSS
$custom: #2e102e;
$custom-light: #685066;
$custom-dark: #000000;
JSON
{
  "hex": "#2e102e",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23424,
    "c": 0.06789,
    "h": 327.5
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2E102E
secondary
#336733
accent
#D85050
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E102E

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

Preview Lab → · Contrast checker → · Palette generator →

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