#2E0A2D#2E0A2D

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

Color values

HEX#2E0A2D
RGBrgb(46, 10, 45)
HSLhsl(302, 64%, 11%)
HSVhsv(302, 78%, 18%)
CMYKcmyk(0%, 78.3%, 2.2%, 82%)
CIE-LABlab(8.89, 23.72, -14.56)
CIE-LCHlch(8.89, 27.83, 328.46°)
OKLaboklab(22.47% 0.0666 -0.0401)
OKLCHoklch(22.47% 0.078 328.9)
XYZxyz(1.7089, 0.9875, 2.5827)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A2D #0A2E0B
analogous
#1D0A2E #2E0A2D #2E0A1B
triadic
#2E0A2D #2D2E0A #0A2D2E
tetradic
#2E0A2D #2E1D0A #0A2E0B #0A1B2E
square
#2E0A2D #2E1D0A #0A2E0B #0A1B2E
split-complementary
#2E0A2D #1B2E0A #0A2E1D
monochromatic
#190519 #190519 #2E0A2D #60155E #93208F

Accessibility & contrast

On white

17.54
#2E0A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0A2D
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A2D#FFFFFF#000000##FFFFFF
##2E0A2D1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07162E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#300E1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0a2d;
/* rgb */ color: rgb(46, 10, 45);
/* oklch */ color: oklch(22.5% 0.078 328.9);
Tailwind
colors: {
  custom: {
    50: '#684c66',
    500: '#2e0a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a2d;
$custom-light: #684c66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a2d",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 301.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22465,
    "c": 0.07778,
    "h": 328.9
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2E0A2D
secondary
#296B2A
accent
#E74541
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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