#460C56#460C56

#460C56 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.9% C 0.128 H 317.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#460C56
RGBrgb(70, 12, 86)
HSLhsl(287, 76%, 19%)
HSVhsv(287, 86%, 34%)
CMYKcmyk(18.6%, 86%, 0%, 66.3%)
CIE-LABlab(16.69, 37.78, -30.79)
CIE-LCHlch(16.69, 48.74, 320.83°)
OKLaboklab(29.87% 0.0947 -0.0867)
OKLCHoklch(29.87% 0.128 317.5)
XYZxyz(4.3367, 2.2371, 9.0057)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C56 #1C560C
analogous
#210C56 #460C56 #560C41
triadic
#460C56 #56460C #0C5646
tetradic
#460C56 #56210C #1C560C #0C4156
square
#460C56 #56210C #1C560C #0C4156
split-complementary
#460C56 #41560C #0C5621
monochromatic
#16041B #1A0520 #460C56 #72138C #9D1BC1

Accessibility & contrast

On white

14.51
#460C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #460C56
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C56#FFFFFF#000000##FFFFFF
##460C561.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #460c56;
/* rgb */ color: rgb(70, 12, 86);
/* oklch */ color: oklch(29.9% 0.128 317.5);
Tailwind
colors: {
  custom: {
    50: '#7d5386',
    500: '#460c56',
    950: '#000000',
  },
}
SCSS
$custom: #460c56;
$custom-light: #7d5386;
$custom-dark: #000000;
JSON
{
  "hex": "#460c56",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 287.027,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.12837,
    "h": 317.5
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#460C56
secondary
#42912D
accent
#F2365E
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #460C56

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

Preview Lab → · Contrast checker → · Palette generator →

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