#2E0A34#2E0A34

#2E0A34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.085 H 321.6°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2E0A34
RGBrgb(46, 10, 52)
HSLhsl(291, 68%, 12%)
HSVhsv(291, 81%, 20%)
CMYKcmyk(11.5%, 80.8%, 0%, 79.6%)
CIE-LABlab(9.37, 25.27, -18.94)
CIE-LCHlch(9.37, 31.58, 323.14°)
OKLaboklab(22.97% 0.0668 -0.0529)
OKLCHoklch(22.97% 0.085 321.6)
XYZxyz(1.8550, 1.0460, 3.3523)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0A34 #10340A
analogous
#190A34 #2E0A34 #340A25
triadic
#2E0A34 #342E0A #0A342E
tetradic
#2E0A34 #34190A #10340A #0A2534
square
#2E0A34 #34190A #10340A #0A2534
split-complementary
#2E0A34 #25340A #0A3419
monochromatic
#17051A #17051A #2E0A34 #5B1467 #891E9B

Accessibility & contrast

On white

17.37
#2E0A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0A34
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0A34#FFFFFF#000000##FFFFFF
##2E0A341.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#0F1C33
Tritanopia (blue-blind)
#2F111E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0a34;
/* rgb */ color: rgb(46, 10, 52);
/* oklch */ color: oklch(23.0% 0.085 321.6);
Tailwind
colors: {
  custom: {
    50: '#694d6b',
    500: '#2e0a34',
    950: '#000000',
  },
}
SCSS
$custom: #2e0a34;
$custom-light: #694d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0a34",
  "rgb": {
    "r": 46,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 291.429,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22967,
    "c": 0.08519,
    "h": 321.6
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2E0A34
secondary
#337128
accent
#EB3D56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0A34

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

Preview Lab → · Contrast checker → · Palette generator →

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