#2A0A30#2A0A30

#2A0A30 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.078 H 321.0°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2A0A30
RGBrgb(42, 10, 48)
HSLhsl(291, 66%, 11%)
HSVhsv(291, 79%, 19%)
CMYKcmyk(12.5%, 79.2%, 0%, 81.2%)
CIE-LABlab(8.33, 23.18, -17.71)
CIE-LCHlch(8.33, 29.17, 322.63°)
OKLaboklab(21.98% 0.061 -0.0494)
OKLCHoklch(21.98% 0.078 321)
XYZxyz(1.5968, 0.9228, 2.8897)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A30 #10300A
analogous
#170A30 #2A0A30 #300A23
triadic
#2A0A30 #302A0A #0A302A
tetradic
#2A0A30 #30170A #10300A #0A2330
square
#2A0A30 #30170A #10300A #0A2330
split-complementary
#2A0A30 #23300A #0A3017
monochromatic
#160519 #160519 #2A0A30 #561563 #831F95

Accessibility & contrast

On white

17.73
#2A0A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0A30
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A30#FFFFFF#000000##FFFFFF
##2A0A301.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#2A101B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0a30;
/* rgb */ color: rgb(42, 10, 48);
/* oklch */ color: oklch(22.0% 0.078 321.0);
Tailwind
colors: {
  custom: {
    50: '#654c68',
    500: '#2a0a30',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a30;
$custom-light: #654c68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a30",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 290.526,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21977,
    "c": 0.07848,
    "h": 321
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#2A0A30
secondary
#336D29
accent
#E83F5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0A30

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

Preview Lab → · Contrast checker → · Palette generator →

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