#2A083A#2A083A

#2A083A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.093 H 312.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2A083A
RGBrgb(42, 8, 58)
HSLhsl(281, 76%, 13%)
HSVhsv(281, 86%, 23%)
CMYKcmyk(27.6%, 86.2%, 0%, 77.3%)
CIE-LABlab(8.75, 26.72, -24.33)
CIE-LCHlch(8.75, 36.14, 317.68°)
OKLaboklab(22.53% 0.0626 -0.0688)
OKLCHoklch(22.53% 0.093 312.3)
XYZxyz(1.8053, 0.9714, 4.0946)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A083A #183A08
analogous
#11083A #2A083A #3A0831
triadic
#2A083A #3A2A08 #083A2A
tetradic
#2A083A #3A1108 #183A08 #08313A
square
#2A083A #3A1108 #183A08 #08313A
split-complementary
#2A083A #313A08 #083A11
monochromatic
#13041B #13041B #2A083A #510F70 #7817A6

Accessibility & contrast

On white

17.58
#2A083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A083A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A083A#FFFFFF#000000##FFFFFF
##2A083A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#281320
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a083a;
/* rgb */ color: rgb(42, 8, 58);
/* oklch */ color: oklch(22.5% 0.093 312.3);
Tailwind
colors: {
  custom: {
    50: '#664b70',
    500: '#2a083a',
    950: '#000000',
  },
}
SCSS
$custom: #2a083a;
$custom-light: #664b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a083a",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 280.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22531,
    "c": 0.09305,
    "h": 312.3
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#2A083A
secondary
#407925
accent
#F23572
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A083A

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

Preview Lab → · Contrast checker → · Palette generator →

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