#460C5F#460C5F

#460C5F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.137 H 312.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#460C5F
RGBrgb(70, 12, 95)
HSLhsl(282, 78%, 21%)
HSVhsv(282, 87%, 37%)
CMYKcmyk(26.3%, 87.4%, 0%, 62.7%)
CIE-LABlab(17.42, 39.76, -35.63)
CIE-LCHlch(17.42, 53.39, 318.14°)
OKLaboklab(30.62% 0.0927 -0.1009)
OKLCHoklch(30.62% 0.137 312.5)
XYZxyz(4.7224, 2.3914, 11.0371)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C5F #255F0C
analogous
#1C0C5F #460C5F #5F0C4E
triadic
#460C5F #5F460C #0C5F46
tetradic
#460C5F #5F1C0C #255F0C #0C4E5F
square
#460C5F #5F1C0C #255F0C #0C4E5F
split-complementary
#460C5F #4E5F0C #0C5F1C
monochromatic
#14031B #1E0529 #460C5F #6E1395 #961ACC

Accessibility & contrast

On white

14.21
#460C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#460C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C5F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C5F#FFFFFF#000000##FFFFFF
##460C5F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#432137
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #460c5f;
/* rgb */ color: rgb(70, 12, 95);
/* oklch */ color: oklch(30.6% 0.137 312.5);
Tailwind
colors: {
  custom: {
    50: '#7d548d',
    500: '#460c5f',
    950: '#000000',
  },
}
SCSS
$custom: #460c5f;
$custom-light: #7d548d;
$custom-dark: #000000;
JSON
{
  "hex": "#460c5f",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 281.928,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30616,
    "c": 0.13702,
    "h": 312.5
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#460C5F
secondary
#4E992D
accent
#F4346E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #460C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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