#2A0E28#2A0E28

#2A0E28 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.0% C 0.062 H 330.2°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2A0E28
RGBrgb(42, 14, 40)
HSLhsl(304, 50%, 11%)
HSVhsv(304, 67%, 16%)
CMYKcmyk(0%, 66.7%, 4.8%, 83.5%)
CIE-LABlab(8.65, 19.02, -11.25)
CIE-LCHlch(8.65, 22.10, 329.40°)
OKLaboklab(22.04% 0.0538 -0.0308)
OKLCHoklch(22.04% 0.062 330.2)
XYZxyz(1.4949, 0.9596, 2.1136)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E28 #0E2A10
analogous
#1E0E2A #2A0E28 #2A0E1A
triadic
#2A0E28 #282A0E #0E282A
tetradic
#2A0E28 #2A1E0E #0E2A10 #0E1A2A
square
#2A0E28 #2A1E0E #0E2A10 #0E1A2A
split-complementary
#2A0E28 #1A2A0E #0E2A1E
monochromatic
#170816 #170816 #2A0E28 #581D54 #862D7F

Accessibility & contrast

On white

17.62
#2A0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E28
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E28#FFFFFF#000000##FFFFFF
##2A0E281.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1629
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#2C1119
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0e28;
/* rgb */ color: rgb(42, 14, 40);
/* oklch */ color: oklch(22.0% 0.062 330.2);
Tailwind
colors: {
  custom: {
    50: '#654e62',
    500: '#2a0e28',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e28;
$custom-light: #654e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e28",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 304.286,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2204,
    "c": 0.06199,
    "h": 330.2
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2A0E28
secondary
#306434
accent
#DA584E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #2A0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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