#2A0525#2A0525

#2A0525 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.076 H 333.9°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2A0525
RGBrgb(42, 5, 37)
HSLhsl(308, 79%, 9%)
HSVhsv(308, 88%, 16%)
CMYKcmyk(0%, 88.1%, 11.9%, 83.5%)
CIE-LABlab(6.63, 23.32, -12.12)
CIE-LCHlch(6.63, 26.28, 332.54°)
OKLaboklab(20.45% 0.0687 -0.0336)
OKLCHoklch(20.45% 0.076 333.9)
XYZxyz(1.3431, 0.7345, 1.8209)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0525 #052A0A
analogous
#1D052A #2A0525 #2A0513
triadic
#2A0525 #252A05 #05252A
tetradic
#2A0525 #2A1D05 #052A0A #05132A
square
#2A0525 #2A1D05 #052A0A #05132A
split-complementary
#2A0525 #132A05 #052A1D
monochromatic
#1B0318 #1B0318 #2A0525 #610C55 #971285

Accessibility & contrast

On white

18.31
#2A0525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0525
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0525#FFFFFF#000000##FFFFFF
##2A05251.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041126
Deuteranopia (green-blind)
#111724
Tritanopia (blue-blind)
#2C0814
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0525;
/* rgb */ color: rgb(42, 5, 37);
/* oklch */ color: oklch(20.4% 0.076 333.9);
Tailwind
colors: {
  custom: {
    50: '#65495f',
    500: '#2a0525',
    950: '#000000',
  },
}
SCSS
$custom: #2a0525;
$custom-light: #65495f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0525",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 308.108,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20449,
    "c": 0.07648,
    "h": 333.9
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#2A0525
secondary
#1F6C29
accent
#F54D33
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0525

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

Preview Lab → · Contrast checker → · Palette generator →

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