#2A0431#2A0431

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

Color values

HEX#2A0431
RGBrgb(42, 4, 49)
HSLhsl(291, 85%, 10%)
HSVhsv(291, 92%, 19%)
CMYKcmyk(14.3%, 91.8%, 0%, 80.8%)
CIE-LABlab(7.23, 26.72, -20.20)
CIE-LCHlch(7.23, 33.49, 322.91°)
OKLaboklab(21.2% 0.07 -0.0568)
OKLCHoklch(21.2% 0.09 321)
XYZxyz(1.5526, 0.8009, 2.9779)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0431 #0B3104
analogous
#130431 #2A0431 #310421
triadic
#2A0431 #312A04 #04312A
tetradic
#2A0431 #311304 #0B3104 #042131
square
#2A0431 #311304 #0B3104 #042131
split-complementary
#2A0431 #213104 #043113
monochromatic
#18021C #18021C #2A0431 #5A096A #8B0DA2

Accessibility & contrast

On white

18.10
#2A0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0431
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0431#FFFFFF#000000##FFFFFF
##2A04311.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#081730
Tritanopia (blue-blind)
#2A0C1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0431;
/* rgb */ color: rgb(42, 4, 49);
/* oklch */ color: oklch(21.2% 0.090 321.0);
Tailwind
colors: {
  custom: {
    50: '#664869',
    500: '#2a0431',
    950: '#000000',
  },
}
SCSS
$custom: #2a0431;
$custom-light: #664869;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0431",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 290.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21201,
    "c": 0.09014,
    "h": 321
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#2A0431
secondary
#2B731D
accent
#FB2D4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0431

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

Preview Lab → · Contrast checker → · Palette generator →

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