#2A0527#2A0527

#2A0527 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.078 H 331.5°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2A0527
RGBrgb(42, 5, 39)
HSLhsl(305, 79%, 9%)
HSVhsv(305, 88%, 16%)
CMYKcmyk(0%, 88.1%, 7.1%, 83.5%)
CIE-LABlab(6.75, 23.77, -13.46)
CIE-LCHlch(6.75, 27.32, 330.48°)
OKLaboklab(20.59% 0.0689 -0.0374)
OKLCHoklch(20.59% 0.078 331.5)
XYZxyz(1.3753, 0.7474, 1.9909)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0527 #052A08
analogous
#1B052A #2A0527 #2A0515
triadic
#2A0527 #272A05 #05272A
tetradic
#2A0527 #2A1B05 #052A08 #05152A
square
#2A0527 #2A1B05 #052A08 #05152A
split-complementary
#2A0527 #152A05 #052A1B
monochromatic
#1B0319 #1B0319 #2A0527 #610C5A #97128D

Accessibility & contrast

On white

18.27
#2A0527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0527
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0527#FFFFFF#000000##FFFFFF
##2A05271.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031228
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#2C0915
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0527;
/* rgb */ color: rgb(42, 5, 39);
/* oklch */ color: oklch(20.6% 0.078 331.5);
Tailwind
colors: {
  custom: {
    50: '#654961',
    500: '#2a0527',
    950: '#000000',
  },
}
SCSS
$custom: #2a0527;
$custom-light: #654961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0527",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 304.865,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20586,
    "c": 0.07835,
    "h": 331.5
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2A0527
secondary
#1F6C25
accent
#F54233
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0527

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

Preview Lab → · Contrast checker → · Palette generator →

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