#2E0F2E#2E0F2E

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

Color values

HEX#2E0F2E
RGBrgb(46, 15, 46)
HSLhsl(300, 51%, 12%)
HSVhsv(300, 67%, 18%)
CMYKcmyk(0%, 67.4%, 0%, 82%)
CIE-LABlab(9.95, 21.18, -13.62)
CIE-LCHlch(9.95, 25.18, 327.26°)
OKLaboklab(23.26% 0.0589 -0.0375)
OKLCHoklch(23.26% 0.07 327.5)
XYZxyz(1.7907, 1.1199, 2.7061)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F2E #0F2E0F
analogous
#1F0F2E #2E0F2E #2E0F1F
triadic
#2E0F2E #2E2E0F #0F2E2E
tetradic
#2E0F2E #2E1F0F #0F2E0F #0F1F2E
square
#2E0F2E #2E1F0F #0F2E0F #0F1F2E
split-complementary
#2E0F2E #1F2E0F #0F2E1F
monochromatic
#170817 #170817 #2E0F2E #5C1E5C #8A2D8A

Accessibility & contrast

On white

17.16
#2E0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F2E
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F2E#FFFFFF#000000##FFFFFF
##2E0F2E1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#30131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0f2e;
/* rgb */ color: rgb(46, 15, 46);
/* oklch */ color: oklch(23.3% 0.070 327.5);
Tailwind
colors: {
  custom: {
    50: '#684f67',
    500: '#2e0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f2e;
$custom-light: #684f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f2e",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.06984,
    "h": 327.5
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#2E0F2E
secondary
#316831
accent
#DA4D4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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