#2E0F2F#2E0F2F

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

Color values

HEX#2E0F2F
RGBrgb(46, 15, 47)
HSLhsl(298, 52%, 12%)
HSVhsv(298, 68%, 18%)
CMYKcmyk(2.1%, 68.1%, 0%, 81.6%)
CIE-LABlab(10.01, 21.41, -14.26)
CIE-LCHlch(10.01, 25.72, 326.33°)
OKLaboklab(23.33% 0.0591 -0.0393)
OKLCHoklch(23.33% 0.071 326.3)
XYZxyz(1.8106, 1.1278, 2.8111)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F2F #102F0F
analogous
#1E0F2F #2E0F2F #2F0F20
triadic
#2E0F2F #2F2E0F #0F2F2E
tetradic
#2E0F2F #2F1E0F #102F0F #0F202F
square
#2E0F2F #2F1E0F #102F0F #0F202F
split-complementary
#2E0F2F #202F0F #0F2F1E
monochromatic
#170717 #170717 #2E0F2F #5B1E5D #892D8C

Accessibility & contrast

On white

17.13
#2E0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0F2F
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F2F#FFFFFF#000000##FFFFFF
##2E0F2F1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#2F131D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e0f2f;
/* rgb */ color: rgb(46, 15, 47);
/* oklch */ color: oklch(23.3% 0.071 326.3);
Tailwind
colors: {
  custom: {
    50: '#684f67',
    500: '#2e0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f2f;
$custom-light: #684f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f2f",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 298.125,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23326,
    "c": 0.07096,
    "h": 326.3
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2E0F2F
secondary
#336931
accent
#DB4D51
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2E0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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