#2A0830#2A0830

#2A0830 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.082 H 321.3°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#2A0830
RGBrgb(42, 8, 48)
HSLhsl(291, 71%, 11%)
HSVhsv(291, 83%, 19%)
CMYKcmyk(12.5%, 83.3%, 0%, 81.2%)
CIE-LABlab(7.94, 24.27, -18.33)
CIE-LCHlch(7.94, 30.41, 322.95°)
OKLaboklab(21.7% 0.0639 -0.0512)
OKLCHoklch(21.7% 0.082 321.3)
XYZxyz(1.5751, 0.8794, 2.8825)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0830 #0E3008
analogous
#160830 #2A0830 #300822
triadic
#2A0830 #302A08 #08302A
tetradic
#2A0830 #301608 #0E3008 #082230
square
#2A0830 #301608 #0E3008 #082230
split-complementary
#2A0830 #223008 #083016
monochromatic
#17041A #17041A #2A0830 #581164 #861999

Accessibility & contrast

On white

17.86
#2A0830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0830
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0830#FFFFFF#000000##FFFFFF
##2A08301.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#2A0F1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0830;
/* rgb */ color: rgb(42, 8, 48);
/* oklch */ color: oklch(21.7% 0.082 321.3);
Tailwind
colors: {
  custom: {
    50: '#654b68',
    500: '#2a0830',
    950: '#000000',
  },
}
SCSS
$custom: #2a0830;
$custom-light: #654b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0830",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 291,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21699,
    "c": 0.08188,
    "h": 321.3
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#2A0830
secondary
#306F25
accent
#EE3A55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0830

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

Preview Lab → · Contrast checker → · Palette generator →

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