#2A0434#2A0434

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

Color values

HEX#2A0434
RGBrgb(42, 4, 52)
HSLhsl(288, 86%, 11%)
HSVhsv(288, 92%, 20%)
CMYKcmyk(19.2%, 92.3%, 0%, 79.6%)
CIE-LABlab(7.47, 27.45, -22.03)
CIE-LCHlch(7.47, 35.20, 321.25°)
OKLaboklab(21.46% 0.0695 -0.0621)
OKLCHoklch(21.46% 0.093 318.2)
XYZxyz(1.6180, 0.8271, 3.3226)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0434 #0E3404
analogous
#120434 #2A0434 #340426
triadic
#2A0434 #342A04 #04342A
tetradic
#2A0434 #341204 #0E3404 #042634
square
#2A0434 #341204 #0E3404 #042634
split-complementary
#2A0434 #263404 #043412
monochromatic
#17021C #17021C #2A0434 #58086D #860DA6

Accessibility & contrast

On white

18.02
#2A0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0434
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0434#FFFFFF#000000##FFFFFF
##2A04341.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#061833
Tritanopia (blue-blind)
#2A0E1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0434;
/* rgb */ color: rgb(42, 4, 52);
/* oklch */ color: oklch(21.5% 0.093 318.2);
Tailwind
colors: {
  custom: {
    50: '#66496c',
    500: '#2a0434',
    950: '#000000',
  },
}
SCSS
$custom: #2a0434;
$custom-light: #66496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0434",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 287.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21457,
    "c": 0.09316,
    "h": 318.2
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2A0434
secondary
#30761E
accent
#FC2C57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0434

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

Preview Lab → · Contrast checker → · Palette generator →

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