#460D56#460D56

#460D56 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.127 H 317.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#460D56
RGBrgb(70, 13, 86)
HSLhsl(287, 74%, 19%)
HSVhsv(287, 85%, 34%)
CMYKcmyk(18.6%, 84.9%, 0%, 66.3%)
CIE-LABlab(16.81, 37.43, -30.59)
CIE-LCHlch(16.81, 48.34, 320.74°)
OKLaboklab(29.96% 0.0938 -0.0861)
OKLCHoklch(29.96% 0.127 317.4)
XYZxyz(4.3492, 2.2620, 9.0098)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460D56 #1D560D
analogous
#220D56 #460D56 #560D42
triadic
#460D56 #56460D #0D5646
tetradic
#460D56 #56220D #1D560D #0D4256
square
#460D56 #56220D #1D560D #0D4256
split-complementary
#460D56 #42560D #0D5622
monochromatic
#16041B #1B0521 #460D56 #71158B #9D1DC0

Accessibility & contrast

On white

14.46
#460D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#460D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460D56
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460D56#FFFFFF#000000##FFFFFF
##460D561.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#451E32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #460d56;
/* rgb */ color: rgb(70, 13, 86);
/* oklch */ color: oklch(30.0% 0.127 317.4);
Tailwind
colors: {
  custom: {
    50: '#7d5486',
    500: '#460d56',
    950: '#000000',
  },
}
SCSS
$custom: #460d56;
$custom-light: #7d5486;
$custom-dark: #000000;
JSON
{
  "hex": "#460d56",
  "rgb": {
    "r": 70,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 286.849,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29955,
    "c": 0.12733,
    "h": 317.4
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#460D56
secondary
#44912E
accent
#F03760
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #460D56

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

Preview Lab → · Contrast checker → · Palette generator →

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