#460A42#460A42

#460A42 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.112 H 331.1°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#460A42
RGBrgb(70, 10, 66)
HSLhsl(304, 75%, 16%)
HSVhsv(304, 86%, 27%)
CMYKcmyk(0%, 85.7%, 5.7%, 72.5%)
CIE-LABlab(15.02, 34.47, -19.68)
CIE-LCHlch(15.02, 39.70, 330.27°)
OKLaboklab(28.24% 0.0983 -0.0543)
OKLCHoklch(28.24% 0.112 331.1)
XYZxyz(3.6177, 1.9128, 5.3319)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460A42 #0A460E
analogous
#2C0A46 #460A42 #460A24
triadic
#460A42 #42460A #0A4246
tetradic
#460A42 #462C0A #0A460E #0A2446
square
#460A42 #462C0A #0A460E #0A2446
split-complementary
#460A42 #24460A #0A462C
monochromatic
#1B0419 #1B0419 #460A42 #7C1274 #B119A7

Accessibility & contrast

On white

15.19
#460A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#460A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460A42
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460A42#FFFFFF#000000##FFFFFF
##460A421.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042043
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#491226
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #460a42;
/* rgb */ color: rgb(70, 10, 66);
/* oklch */ color: oklch(28.2% 0.112 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5176',
    500: '#460a42',
    950: '#000000',
  },
}
SCSS
$custom: #460a42;
$custom-light: #7c5176;
$custom-dark: #000000;
JSON
{
  "hex": "#460a42",
  "rgb": {
    "r": 70,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 304,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28235,
    "c": 0.11232,
    "h": 331.1
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#460A42
secondary
#29832F
accent
#F24336
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460A42

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

Preview Lab → · Contrast checker → · Palette generator →

#460A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva