#2A053A#2A053A

#2A053A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.098 H 313.0°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2A053A
RGBrgb(42, 5, 58)
HSLhsl(282, 84%, 12%)
HSVhsv(282, 91%, 23%)
CMYKcmyk(27.6%, 91.4%, 0%, 77.3%)
CIE-LABlab(8.19, 28.35, -25.25)
CIE-LCHlch(8.19, 37.96, 318.31°)
OKLaboklab(22.13% 0.0666 -0.0715)
OKLCHoklch(22.13% 0.098 313)
XYZxyz(1.7727, 0.9063, 4.0837)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A053A #153A05
analogous
#10053A #2A053A #3A0530
triadic
#2A053A #3A2A05 #053A2A
tetradic
#2A053A #3A1005 #153A05 #05303A
square
#2A053A #3A1005 #153A05 #05303A
split-complementary
#2A053A #303A05 #053A10
monochromatic
#14021C #14021C #2A053A #530A72 #7C0FAB

Accessibility & contrast

On white

17.78
#2A053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A053A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A053A#FFFFFF#000000##FFFFFF
##2A053A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#28121F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a053a;
/* rgb */ color: rgb(42, 5, 58);
/* oklch */ color: oklch(22.1% 0.098 313.0);
Tailwind
colors: {
  custom: {
    50: '#664a70',
    500: '#2a053a',
    950: '#000000',
  },
}
SCSS
$custom: #2a053a;
$custom-light: #664a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a053a",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 281.887,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22133,
    "c": 0.0977,
    "h": 313
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2A053A
secondary
#3B7B20
accent
#FA2D6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A053A

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

Preview Lab → · Contrast checker → · Palette generator →

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