#2A082D#2A082D

#2A082D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.079 H 324.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2A082D
RGBrgb(42, 8, 45)
HSLhsl(295, 70%, 10%)
HSVhsv(295, 82%, 18%)
CMYKcmyk(6.7%, 82.2%, 0%, 82.4%)
CIE-LABlab(7.73, 23.57, -16.44)
CIE-LCHlch(7.73, 28.74, 325.10°)
OKLaboklab(21.47% 0.064 -0.0457)
OKLCHoklch(21.47% 0.079 324.4)
XYZxyz(1.5153, 0.8555, 2.5674)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A082D #0B2D08
analogous
#17082D #2A082D #2D081D
triadic
#2A082D #2D2A08 #082D2A
tetradic
#2A082D #2D1708 #0B2D08 #081D2D
square
#2A082D #2D1708 #0B2D08 #081D2D
split-complementary
#2A082D #1D2D08 #082D17
monochromatic
#18051A #18051A #2A082D #5A1161 #8B1A95

Accessibility & contrast

On white

17.93
#2A082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A082D
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A082D#FFFFFF#000000##FFFFFF
##2A082D1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#0F182C
Tritanopia (blue-blind)
#2B0E19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a082d;
/* rgb */ color: rgb(42, 8, 45);
/* oklch */ color: oklch(21.5% 0.079 324.4);
Tailwind
colors: {
  custom: {
    50: '#654b66',
    500: '#2a082d',
    950: '#000000',
  },
}
SCSS
$custom: #2a082d;
$custom-light: #654b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a082d",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 295.135,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21471,
    "c": 0.07863,
    "h": 324.4
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#2A082D
secondary
#2B6C25
accent
#ED3B4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A082D

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

Preview Lab → · Contrast checker → · Palette generator →

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