#2A082F#2A082F

#2A082F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.081 H 322.3°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2A082F
RGBrgb(42, 8, 47)
HSLhsl(292, 71%, 11%)
HSVhsv(292, 83%, 18%)
CMYKcmyk(10.6%, 83%, 0%, 81.6%)
CIE-LABlab(7.87, 24.04, -17.70)
CIE-LCHlch(7.87, 29.85, 323.63°)
OKLaboklab(21.62% 0.0639 -0.0494)
OKLCHoklch(21.62% 0.081 322.3)
XYZxyz(1.5547, 0.8712, 2.7750)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A082F #0D2F08
analogous
#16082F #2A082F #2F0820
triadic
#2A082F #2F2A08 #082F2A
tetradic
#2A082F #2F1608 #0D2F08 #08202F
square
#2A082F #2F1608 #0D2F08 #08202F
split-complementary
#2A082F #202F08 #082F16
monochromatic
#17041A #17041A #2A082F #591163 #871A98

Accessibility & contrast

On white

17.88
#2A082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A082F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A082F#FFFFFF#000000##FFFFFF
##2A082F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#0D192E
Tritanopia (blue-blind)
#2B0F1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a082f;
/* rgb */ color: rgb(42, 8, 47);
/* oklch */ color: oklch(21.6% 0.081 322.3);
Tailwind
colors: {
  custom: {
    50: '#654b68',
    500: '#2a082f',
    950: '#000000',
  },
}
SCSS
$custom: #2a082f;
$custom-light: #654b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a082f",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 292.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21621,
    "c": 0.08079,
    "h": 322.3
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#2A082F
secondary
#2E6E25
accent
#EE3A51
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A082F

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

Preview Lab → · Contrast checker → · Palette generator →

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