#2E0C2D#2E0C2D

#2E0C2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.074 H 328.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2E0C2D
RGBrgb(46, 12, 45)
HSLhsl(302, 59%, 11%)
HSVhsv(302, 74%, 18%)
CMYKcmyk(0%, 73.9%, 2.2%, 82%)
CIE-LABlab(9.27, 22.66, -13.96)
CIE-LCHlch(9.27, 26.62, 328.37°)
OKLaboklab(22.74% 0.0636 -0.0384)
OKLCHoklch(22.74% 0.074 328.9)
XYZxyz(1.7318, 1.0334, 2.5904)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0C2D #0C2E0D
analogous
#1E0C2E #2E0C2D #2E0C1C
triadic
#2E0C2D #2D2E0C #0C2D2E
tetradic
#2E0C2D #2E1E0C #0C2E0D #0C1C2E
square
#2E0C2D #2E1E0C #0C2E0D #0C1C2E
split-complementary
#2E0C2D #1C2E0C #0C2E1E
monochromatic
#180618 #180618 #2E0C2D #5F195C #8F258C

Accessibility & contrast

On white

17.40
#2E0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E0C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0C2D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0C2D#FFFFFF#000000##FFFFFF
##2E0C2D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#141C2C
Tritanopia (blue-blind)
#30101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0c2d;
/* rgb */ color: rgb(46, 12, 45);
/* oklch */ color: oklch(22.7% 0.074 328.9);
Tailwind
colors: {
  custom: {
    50: '#684d66',
    500: '#2e0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e0c2d;
$custom-light: #684d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0c2d",
  "rgb": {
    "r": 46,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 301.765,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2274,
    "c": 0.07433,
    "h": 328.9
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#2E0C2D
secondary
#2C6A2E
accent
#E24B46
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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