#2E102F#2E102F

#2E102F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.069 H 326.3°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2E102F
RGBrgb(46, 16, 47)
HSLhsl(298, 49%, 12%)
HSVhsv(298, 66%, 18%)
CMYKcmyk(2.1%, 66%, 0%, 81.6%)
CIE-LABlab(10.23, 20.81, -13.91)
CIE-LCHlch(10.23, 25.03, 326.24°)
OKLaboklab(23.49% 0.0574 -0.0383)
OKLCHoklch(23.49% 0.069 326.3)
XYZxyz(1.8251, 1.1568, 2.8159)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E102F #112F10
analogous
#1F102F #2E102F #2F1020
triadic
#2E102F #2F2E10 #102F2E
tetradic
#2E102F #2F1F10 #112F10 #10202F
square
#2E102F #2F1F10 #112F10 #10202F
split-complementary
#2E102F #202F10 #102F1F
monochromatic
#160817 #160817 #2E102F #5B205D #872F8A

Accessibility & contrast

On white

17.05
#2E102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E102F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E102F#FFFFFF#000000##FFFFFF
##2E102F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#2F141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e102f;
/* rgb */ color: rgb(46, 16, 47);
/* oklch */ color: oklch(23.5% 0.069 326.3);
Tailwind
colors: {
  custom: {
    50: '#685067',
    500: '#2e102f',
    950: '#000000',
  },
}
SCSS
$custom: #2e102f;
$custom-light: #685067;
$custom-dark: #000000;
JSON
{
  "hex": "#2e102f",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 298.065,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23488,
    "c": 0.06903,
    "h": 326.3
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#2E102F
secondary
#346833
accent
#D94F53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E102F

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

Preview Lab → · Contrast checker → · Palette generator →

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