#462787#462787

#462787 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.151 H 292.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#462787
RGBrgb(70, 39, 135)
HSLhsl(259, 55%, 34%)
HSVhsv(259, 71%, 53%)
CMYKcmyk(48.1%, 71.1%, 0%, 47.1%)
CIE-LABlab(25.27, 37.76, -48.62)
CIE-LCHlch(25.27, 61.56, 307.83°)
OKLaboklab(37.23% 0.0572 -0.1393)
OKLCHoklch(37.23% 0.151 292.3)
XYZxyz(7.6233, 4.5021, 23.3843)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462787 #688727
analogous
#273887 #462787 #762787
triadic
#462787 #874627 #278746
tetradic
#462787 #872738 #688727 #278776
square
#462787 #872738 #688727 #278776
split-complementary
#462787 #877627 #388727
monochromatic
#150C28 #2D1958 #462787 #5F35B6 #7F59CF

Accessibility & contrast

On white

11.05
#462787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#462787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462787
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462787#FFFFFF#000000##FFFFFF
##4627871.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#323F54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462787;
/* rgb */ color: rgb(70, 39, 135);
/* oklch */ color: oklch(37.2% 0.151 292.3);
Tailwind
colors: {
  custom: {
    50: '#8064ab',
    500: '#462787',
    950: '#000000',
  },
}
SCSS
$custom: #462787;
$custom-light: #8064ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462787",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 259.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.15057,
    "h": 292.3
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#462787
secondary
#96B456
accent
#DF49AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462787

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

Preview Lab → · Contrast checker → · Palette generator →

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