#2A0428#2A0428

#2A0428 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.081 H 330.3°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2A0428
RGBrgb(42, 4, 40)
HSLhsl(303, 83%, 9%)
HSVhsv(303, 90%, 16%)
CMYKcmyk(0%, 90.5%, 4.8%, 83.5%)
CIE-LABlab(6.62, 24.54, -14.43)
CIE-LCHlch(6.62, 28.47, 329.53°)
OKLaboklab(20.5% 0.0707 -0.0403)
OKLCHoklch(20.5% 0.081 330.3)
XYZxyz(1.3813, 0.7324, 2.0757)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0428 #042A06
analogous
#19042A #2A0428 #2A0415
triadic
#2A0428 #282A04 #04282A
tetradic
#2A0428 #2A1904 #042A06 #04152A
square
#2A0428 #2A1904 #042A06 #04152A
split-complementary
#2A0428 #152A04 #042A19
monochromatic
#1C031B #1C031B #2A0428 #62095D #9A0F92

Accessibility & contrast

On white

18.32
#2A0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0428
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0428#FFFFFF#000000##FFFFFF
##2A04281.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021129
Deuteranopia (green-blind)
#0F1727
Tritanopia (blue-blind)
#2C0815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0428;
/* rgb */ color: rgb(42, 4, 40);
/* oklch */ color: oklch(20.5% 0.081 330.3);
Tailwind
colors: {
  custom: {
    50: '#654862',
    500: '#2a0428',
    950: '#000000',
  },
}
SCSS
$custom: #2a0428;
$custom-light: #654862;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0428",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 303.158,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20499,
    "c": 0.08137,
    "h": 330.3
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2A0428
secondary
#1D6D21
accent
#F9392F
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0428

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

Preview Lab → · Contrast checker → · Palette generator →

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