#2A053B#2A053B

#2A053B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.099 H 312.2°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2A053B
RGBrgb(42, 5, 59)
HSLhsl(281, 84%, 13%)
HSVhsv(281, 92%, 23%)
CMYKcmyk(28.8%, 91.5%, 0%, 76.9%)
CIE-LABlab(8.28, 28.60, -25.82)
CIE-LCHlch(8.28, 38.53, 317.92°)
OKLaboklab(22.23% 0.0663 -0.0732)
OKLCHoklch(22.23% 0.099 312.2)
XYZxyz(1.7984, 0.9166, 4.2190)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A053B #163B05
analogous
#0F053B #2A053B #3B0531
triadic
#2A053B #3B2A05 #053B2A
tetradic
#2A053B #3B0F05 #163B05 #05313B
square
#2A053B #3B0F05 #163B05 #05313B
split-complementary
#2A053B #313B05 #053B0F
monochromatic
#14021C #14021C #2A053B #520A73 #7A0FAC

Accessibility & contrast

On white

17.75
#2A053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A053B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A053B#FFFFFF#000000##FFFFFF
##2A053B1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#281220
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a053b;
/* rgb */ color: rgb(42, 5, 59);
/* oklch */ color: oklch(22.2% 0.099 312.2);
Tailwind
colors: {
  custom: {
    50: '#664a71',
    500: '#2a053b',
    950: '#000000',
  },
}
SCSS
$custom: #2a053b;
$custom-light: #664a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a053b",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 281.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22225,
    "c": 0.09876,
    "h": 312.2
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#2A053B
secondary
#3D7C20
accent
#FB2D6E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A053B

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

Preview Lab → · Contrast checker → · Palette generator →

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