#2A0932#2A0932

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

Color values

HEX#2A0932
RGBrgb(42, 9, 50)
HSLhsl(288, 69%, 12%)
HSVhsv(288, 82%, 20%)
CMYKcmyk(16%, 82%, 0%, 80.4%)
CIE-LABlab(8.29, 24.20, -19.25)
CIE-LCHlch(8.29, 30.92, 321.50°)
OKLaboklab(21.99% 0.0623 -0.0539)
OKLCHoklch(21.99% 0.082 319.1)
XYZxyz(1.6282, 0.9180, 3.1084)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0932 #113209
analogous
#160932 #2A0932 #320926
triadic
#2A0932 #322A09 #09322A
tetradic
#2A0932 #321609 #113209 #092632
square
#2A0932 #321609 #113209 #092632
split-complementary
#2A0932 #263209 #093216
monochromatic
#16051A #16051A #2A0932 #561266 #811C9A

Accessibility & contrast

On white

17.74
#2A0932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0932
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0932#FFFFFF#000000##FFFFFF
##2A09321.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#2A111C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0932;
/* rgb */ color: rgb(42, 9, 50);
/* oklch */ color: oklch(22.0% 0.082 319.1);
Tailwind
colors: {
  custom: {
    50: '#654b6a',
    500: '#2a0932',
    950: '#000000',
  },
}
SCSS
$custom: #2a0932;
$custom-light: #654b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0932",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 288.293,
    "s": 69.492,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21994,
    "c": 0.08241,
    "h": 319.1
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2A0932
secondary
#357027
accent
#EC3B5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0932

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

Preview Lab → · Contrast checker → · Palette generator →

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