#2A0332#2A0332

#2A0332 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.093 H 320.2°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#2A0332
RGBrgb(42, 3, 50)
HSLhsl(290, 89%, 10%)
HSVhsv(290, 94%, 20%)
CMYKcmyk(16%, 94%, 0%, 80.4%)
CIE-LABlab(7.12, 27.52, -21.13)
CIE-LCHlch(7.12, 34.69, 322.48°)
OKLaboklab(21.14% 0.0715 -0.0595)
OKLCHoklch(21.14% 0.093 320.2)
XYZxyz(1.5631, 0.7877, 3.0867)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0332 #0B3203
analogous
#120332 #2A0332 #320322
triadic
#2A0332 #322A03 #03322A
tetradic
#2A0332 #321203 #0B3203 #032232
square
#2A0332 #321203 #0B3203 #032232
split-complementary
#2A0332 #223203 #033212
monochromatic
#18021D #18021D #2A0332 #5A066C #8B0AA5

Accessibility & contrast

On white

18.14
#2A0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0332
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0332#FFFFFF#000000##FFFFFF
##2A03321.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#071731
Tritanopia (blue-blind)
#2A0C1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0332;
/* rgb */ color: rgb(42, 3, 50);
/* oklch */ color: oklch(21.1% 0.093 320.2);
Tailwind
colors: {
  custom: {
    50: '#66486a',
    500: '#2a0332',
    950: '#000000',
  },
}
SCSS
$custom: #2a0332;
$custom-light: #66486a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0332",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 289.787,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21138,
    "c": 0.093,
    "h": 320.2
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#2A0332
secondary
#2B751B
accent
#FF294D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0332

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

Preview Lab → · Contrast checker → · Palette generator →

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