#2A1832#2A1832

#2A1832 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.053 H 314.8°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#2A1832
RGBrgb(42, 24, 50)
HSLhsl(282, 35%, 15%)
HSVhsv(282, 52%, 20%)
CMYKcmyk(16%, 52%, 0%, 80.4%)
CIE-LABlab(11.80, 14.86, -13.70)
CIE-LCHlch(11.80, 20.21, 317.33°)
OKLaboklab(24.57% 0.0377 -0.0379)
OKLCHoklch(24.57% 0.053 314.8)
XYZxyz(1.8571, 1.3758, 3.1847)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1832 #203218
analogous
#1D1832 #2A1832 #32182D
triadic
#2A1832 #322A18 #18322A
tetradic
#2A1832 #321D18 #203218 #182D32
square
#2A1832 #321D18 #203218 #182D32
split-complementary
#2A1832 #2D3218 #18321D
monochromatic
#110A15 #110A15 #2A1832 #4D2C5B #6F4085

Accessibility & contrast

On white

16.47
#2A1832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2A1832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1832
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1832#FFFFFF#000000##FFFFFF
##2A18321.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E33
Deuteranopia (green-blind)
#182031
Tritanopia (blue-blind)
#2A1C22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1832;
/* rgb */ color: rgb(42, 24, 50);
/* oklch */ color: oklch(24.6% 0.053 314.8);
Tailwind
colors: {
  custom: {
    50: '#64556a',
    500: '#2a1832',
    950: '#000000',
  },
}
SCSS
$custom: #2a1832;
$custom-light: #64556a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1832",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 281.538,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24568,
    "c": 0.05344,
    "h": 314.8
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#2A1832
secondary
#4B673F
accent
#CB5D7F
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2A1832

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

Preview Lab → · Contrast checker → · Palette generator →

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