#2E102C#2E102C

#2E102C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.066 H 330.0°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2E102C
RGBrgb(46, 16, 44)
HSLhsl(304, 48%, 12%)
HSVhsv(304, 65%, 18%)
CMYKcmyk(0%, 65.2%, 4.3%, 82%)
CIE-LABlab(10.06, 20.13, -11.98)
CIE-LCHlch(10.06, 23.43, 329.24°)
OKLaboklab(23.3% 0.0569 -0.0328)
OKLCHoklch(23.3% 0.066 330)
XYZxyz(1.7666, 1.1334, 2.5081)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E102C #102E12
analogous
#21102E #2E102C #2E101D
triadic
#2E102C #2C2E10 #102C2E
tetradic
#2E102C #2E2110 #102E12 #101D2E
square
#2E102C #2E2110 #102E12 #101D2E
split-complementary
#2E102C #1D2E10 #102E21
monochromatic
#170816 #170816 #2E102C #5B2057 #893083

Accessibility & contrast

On white

17.12
#2E102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E102C
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E102C#FFFFFF#000000##FFFFFF
##2E102C1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e102c;
/* rgb */ color: rgb(46, 16, 44);
/* oklch */ color: oklch(23.3% 0.066 330.0);
Tailwind
colors: {
  custom: {
    50: '#685065',
    500: '#2e102c',
    950: '#000000',
  },
}
SCSS
$custom: #2e102c;
$custom-light: #685065;
$custom-dark: #000000;
JSON
{
  "hex": "#2e102c",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 304,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23299,
    "c": 0.06566,
    "h": 330
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#2E102C
secondary
#336736
accent
#D85950
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2E102C

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

Preview Lab → · Contrast checker → · Palette generator →

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