#2A0132#2A0132

#2A0132 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.8% C 0.097 H 320.6°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#2A0132
RGBrgb(42, 1, 50)
HSLhsl(290, 96%, 10%)
HSVhsv(290, 98%, 20%)
CMYKcmyk(16%, 98%, 0%, 80.4%)
CIE-LABlab(6.72, 28.61, -21.76)
CIE-LCHlch(6.72, 35.95, 322.75°)
OKLaboklab(20.84% 0.0748 -0.0615)
OKLCHoklch(20.84% 0.097 320.6)
XYZxyz(1.5414, 0.7443, 3.0795)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0132 #093201
analogous
#110132 #2A0132 #320122
triadic
#2A0132 #322A01 #01322A
tetradic
#2A0132 #321101 #093201 #012232
square
#2A0132 #321101 #093201 #012232
split-complementary
#2A0132 #223201 #013211
monochromatic
#19011E #19011E #2A0132 #5C026E #8F03AA

Accessibility & contrast

On white

18.28
#2A0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0132
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0132#FFFFFF#000000##FFFFFF
##2A01321.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#051631
Tritanopia (blue-blind)
#2A0A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0132;
/* rgb */ color: rgb(42, 1, 50);
/* oklch */ color: oklch(20.8% 0.097 320.6);
Tailwind
colors: {
  custom: {
    50: '#66476a',
    500: '#2a0132',
    950: '#000000',
  },
}
SCSS
$custom: #2a0132;
$custom-light: #66476a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0132",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 290.204,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.20836,
    "c": 0.09687,
    "h": 320.6
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#2A0132
secondary
#277717
accent
#FF294C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A0132

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

Preview Lab → · Contrast checker → · Palette generator →

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