#2A053C#2A053C

#2A053C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.100 H 311.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2A053C
RGBrgb(42, 5, 60)
HSLhsl(280, 85%, 13%)
HSVhsv(280, 92%, 24%)
CMYKcmyk(30%, 91.7%, 0%, 76.5%)
CIE-LABlab(8.37, 28.84, -26.39)
CIE-LCHlch(8.37, 39.09, 317.54°)
OKLaboklab(22.32% 0.066 -0.0748)
OKLCHoklch(22.32% 0.1 311.4)
XYZxyz(1.8246, 0.9271, 4.3569)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A053C #173C05
analogous
#0F053C #2A053C #3C0532
triadic
#2A053C #3C2A05 #053C2A
tetradic
#2A053C #3C0F05 #173C05 #05323C
square
#2A053C #3C0F05 #173C05 #05323C
split-complementary
#2A053C #323C05 #053C0F
monochromatic
#14021C #14021C #2A053C #520A74 #790EAD

Accessibility & contrast

On white

17.72
#2A053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A053C
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A053C#FFFFFF#000000##FFFFFF
##2A053C1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#281221
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a053c;
/* rgb */ color: rgb(42, 5, 60);
/* oklch */ color: oklch(22.3% 0.100 311.4);
Tailwind
colors: {
  custom: {
    50: '#664a72',
    500: '#2a053c',
    950: '#000000',
  },
}
SCSS
$custom: #2a053c;
$custom-light: #664a72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a053c",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 280.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22318,
    "c": 0.09981,
    "h": 311.4
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#2A053C
secondary
#3E7D20
accent
#FB2D70
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A053C

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

Preview Lab → · Contrast checker → · Palette generator →

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