#2A0A2F#2A0A2F

#2A0A2F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.077 H 322.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2A0A2F
RGBrgb(42, 10, 47)
HSLhsl(292, 65%, 11%)
HSVhsv(292, 79%, 18%)
CMYKcmyk(10.6%, 78.7%, 0%, 81.6%)
CIE-LABlab(8.26, 22.95, -17.08)
CIE-LCHlch(8.26, 28.61, 323.33°)
OKLaboklab(21.9% 0.061 -0.0476)
OKLCHoklch(21.9% 0.077 322)
XYZxyz(1.5764, 0.9146, 2.7823)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A2F #0F2F0A
analogous
#170A2F #2A0A2F #2F0A21
triadic
#2A0A2F #2F2A0A #0A2F2A
tetradic
#2A0A2F #2F170A #0F2F0A #0A212F
square
#2A0A2F #2F170A #0F2F0A #0A212F
split-complementary
#2A0A2F #212F0A #0A2F17
monochromatic
#170519 #170519 #2A0A2F #571561 #841F94

Accessibility & contrast

On white

17.75
#2A0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A2F
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A2F#FFFFFF#000000##FFFFFF
##2A0A2F1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#2B101B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0a2f;
/* rgb */ color: rgb(42, 10, 47);
/* oklch */ color: oklch(21.9% 0.077 322.0);
Tailwind
colors: {
  custom: {
    50: '#654c67',
    500: '#2a0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a2f;
$custom-light: #654c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a2f",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 291.892,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21902,
    "c": 0.07735,
    "h": 322
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#2A0A2F
secondary
#326C29
accent
#E84057
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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