#2A0529#2A0529

#2A0529 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.080 H 329.2°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2A0529
RGBrgb(42, 5, 41)
HSLhsl(302, 79%, 9%)
HSVhsv(302, 88%, 16%)
CMYKcmyk(0%, 88.1%, 2.4%, 83.5%)
CIE-LABlab(6.87, 24.24, -14.79)
CIE-LCHlch(6.87, 28.39, 328.62°)
OKLaboklab(20.73% 0.0689 -0.0412)
OKLCHoklch(20.73% 0.08 329.2)
XYZxyz(1.4093, 0.7610, 2.1700)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0529 #052A06
analogous
#19052A #2A0529 #2A0517
triadic
#2A0529 #292A05 #05292A
tetradic
#2A0529 #2A1905 #052A06 #05172A
square
#2A0529 #2A1905 #052A06 #05172A
split-complementary
#2A0529 #172A05 #052A19
monochromatic
#1B031B #1B031B #2A0529 #610C5E #971294

Accessibility & contrast

On white

18.23
#2A0529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0529
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0529#FFFFFF#000000##FFFFFF
##2A05291.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122A
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#2C0916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0529;
/* rgb */ color: rgb(42, 5, 41);
/* oklch */ color: oklch(20.7% 0.080 329.2);
Tailwind
colors: {
  custom: {
    50: '#654963',
    500: '#2a0529',
    950: '#000000',
  },
}
SCSS
$custom: #2a0529;
$custom-light: #654963;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0529",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 301.622,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20728,
    "c": 0.08027,
    "h": 329.2
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#2A0529
secondary
#1F6C21
accent
#F53833
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0529

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

Preview Lab → · Contrast checker → · Palette generator →

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