#2A0533#2A0533

#2A0533 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.090 H 318.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2A0533
RGBrgb(42, 5, 51)
HSLhsl(288, 82%, 11%)
HSVhsv(288, 90%, 20%)
CMYKcmyk(17.6%, 90.2%, 0%, 80%)
CIE-LABlab(7.59, 26.65, -21.11)
CIE-LCHlch(7.59, 34.00, 321.62°)
OKLaboklab(21.52% 0.0681 -0.0594)
OKLCHoklch(21.52% 0.09 318.9)
XYZxyz(1.6066, 0.8399, 3.2088)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0533 #0E3305
analogous
#130533 #2A0533 #330525
triadic
#2A0533 #332A05 #05332A
tetradic
#2A0533 #331305 #0E3305 #052533
square
#2A0533 #331305 #0E3305 #052533
split-complementary
#2A0533 #253305 #053313
monochromatic
#17031C #17031C #2A0533 #580A6B #8610A2

Accessibility & contrast

On white

17.98
#2A0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0533
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0533#FFFFFF#000000##FFFFFF
##2A05331.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#2A0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0533;
/* rgb */ color: rgb(42, 5, 51);
/* oklch */ color: oklch(21.5% 0.090 318.9);
Tailwind
colors: {
  custom: {
    50: '#66496b',
    500: '#2a0533',
    950: '#000000',
  },
}
SCSS
$custom: #2a0533;
$custom-light: #66496b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0533",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 288.261,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21515,
    "c": 0.09035,
    "h": 318.9
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2A0533
secondary
#30741F
accent
#F82F57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0533

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

Preview Lab → · Contrast checker → · Palette generator →

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