#2A0430#2A0430

#2A0430 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.089 H 321.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2A0430
RGBrgb(42, 4, 48)
HSLhsl(292, 85%, 10%)
HSVhsv(292, 92%, 19%)
CMYKcmyk(12.5%, 91.7%, 0%, 81.2%)
CIE-LABlab(7.16, 26.47, -19.58)
CIE-LCHlch(7.16, 32.92, 323.51°)
OKLaboklab(21.12% 0.0702 -0.055)
OKLCHoklch(21.12% 0.089 321.9)
XYZxyz(1.5317, 0.7926, 2.8680)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0430 #0A3004
analogous
#140430 #2A0430 #300420
triadic
#2A0430 #302A04 #04302A
tetradic
#2A0430 #301404 #0A3004 #042030
square
#2A0430 #301404 #0A3004 #042030
split-complementary
#2A0430 #203004 #043014
monochromatic
#19021C #19021C #2A0430 #5B0968 #8D0DA1

Accessibility & contrast

On white

18.13
#2A0430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0430
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0430#FFFFFF#000000##FFFFFF
##2A04301.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#09172F
Tritanopia (blue-blind)
#2B0C19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0430;
/* rgb */ color: rgb(42, 4, 48);
/* oklch */ color: oklch(21.1% 0.089 321.9);
Tailwind
colors: {
  custom: {
    50: '#664868',
    500: '#2a0430',
    950: '#000000',
  },
}
SCSS
$custom: #2a0430;
$custom-light: #664868;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0430",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 291.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21118,
    "c": 0.08913,
    "h": 321.9
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#2A0430
secondary
#29721D
accent
#FB2D49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0430

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

Preview Lab → · Contrast checker → · Palette generator →

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