#2E0F35#2E0F35

#2E0F35 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.078 H 319.9°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#2E0F35
RGBrgb(46, 15, 53)
HSLhsl(289, 56%, 13%)
HSVhsv(289, 72%, 21%)
CMYKcmyk(13.2%, 71.7%, 0%, 79.2%)
CIE-LABlab(10.41, 22.83, -18.02)
CIE-LCHlch(10.41, 29.08, 321.71°)
OKLaboklab(23.74% 0.0596 -0.0503)
OKLCHoklch(23.74% 0.078 319.9)
XYZxyz(1.9401, 1.1796, 3.4930)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F35 #16350F
analogous
#1B0F35 #2E0F35 #350F29
triadic
#2E0F35 #352E0F #0F352E
tetradic
#2E0F35 #351B0F #16350F #0F2935
square
#2E0F35 #351B0F #16350F #0F2935
split-complementary
#2E0F35 #29350F #0F351B
monochromatic
#150718 #150718 #2E0F35 #571C65 #812A94

Accessibility & contrast

On white

16.99
#2E0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F35
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F35#FFFFFF#000000##FFFFFF
##2E0F351.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#121D34
Tritanopia (blue-blind)
#2E1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2e0f35;
/* rgb */ color: rgb(46, 15, 53);
/* oklch */ color: oklch(23.7% 0.078 319.9);
Tailwind
colors: {
  custom: {
    50: '#684f6c',
    500: '#2e0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f35;
$custom-light: #684f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f35",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 288.947,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23739,
    "c": 0.07794,
    "h": 319.9
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#2E0F35
secondary
#3C6F31
accent
#DF4964
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2E0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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