#462587#462587

#462587 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.153 H 292.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#462587
RGBrgb(70, 37, 135)
HSLhsl(260, 57%, 34%)
HSVhsv(260, 73%, 53%)
CMYKcmyk(48.1%, 72.6%, 0%, 47.1%)
CIE-LABlab(24.87, 38.85, -49.27)
CIE-LCHlch(24.87, 62.74, 308.26°)
OKLaboklab(36.95% 0.0592 -0.1412)
OKLCHoklch(36.95% 0.153 292.7)
XYZxyz(7.5593, 4.3742, 23.3630)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462587 #668725
analogous
#253587 #462587 #772587
triadic
#462587 #874625 #258746
tetradic
#462587 #872535 #668725 #258777
square
#462587 #872535 #668725 #258777
split-complementary
#462587 #877725 #358725
monochromatic
#140B27 #2D1857 #462587 #5F32B7 #7F56D1

Accessibility & contrast

On white

11.20
#462587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#462587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462587
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462587#FFFFFF#000000##FFFFFF
##4625871.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#323E53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462587;
/* rgb */ color: rgb(70, 37, 135);
/* oklch */ color: oklch(37.0% 0.153 292.7);
Tailwind
colors: {
  custom: {
    50: '#8062ab',
    500: '#462587',
    950: '#000000',
  },
}
SCSS
$custom: #462587;
$custom-light: #8062ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462587",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 260.204,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3695,
    "c": 0.15309,
    "h": 292.7
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#462587
secondary
#94B553
accent
#E048AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462587

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

Preview Lab → · Contrast checker → · Palette generator →

#462587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva