#2A0A39#2A0A39

#2A0A39 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.089 H 312.7°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2A0A39
RGBrgb(42, 10, 57)
HSLhsl(281, 70%, 13%)
HSVhsv(281, 82%, 22%)
CMYKcmyk(26.3%, 82.5%, 0%, 77.6%)
CIE-LABlab(9.03, 25.43, -23.16)
CIE-LCHlch(9.03, 34.39, 317.67°)
OKLaboklab(22.7% 0.0603 -0.0654)
OKLCHoklch(22.7% 0.089 312.7)
XYZxyz(1.8018, 1.0048, 3.9691)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A39 #19390A
analogous
#120A39 #2A0A39 #390A30
triadic
#2A0A39 #392A0A #0A392A
tetradic
#2A0A39 #39120A #19390A #0A3039
square
#2A0A39 #39120A #19390A #0A3039
split-complementary
#2A0A39 #30390A #0A3912
monochromatic
#13051A #13051A #2A0A39 #50136D #771CA1

Accessibility & contrast

On white

17.49
#2A0A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0A39
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A39#FFFFFF#000000##FFFFFF
##2A0A391.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#281420
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0a39;
/* rgb */ color: rgb(42, 10, 57);
/* oklch */ color: oklch(22.7% 0.089 312.7);
Tailwind
colors: {
  custom: {
    50: '#664c70',
    500: '#2a0a39',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a39;
$custom-light: #664c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a39",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 280.851,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22703,
    "c": 0.08892,
    "h": 312.7
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#2A0A39
secondary
#417628
accent
#ED3B74
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0A39

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

Preview Lab → · Contrast checker → · Palette generator →

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