#462087#462087

#462087 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.159 H 293.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#462087
RGBrgb(70, 32, 135)
HSLhsl(262, 62%, 33%)
HSVhsv(262, 76%, 53%)
CMYKcmyk(48.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(23.95, 41.45, -50.78)
CIE-LCHlch(23.95, 65.55, 309.23°)
OKLaboklab(36.3% 0.064 -0.1456)
OKLCHoklch(36.3% 0.159 293.7)
XYZxyz(7.4143, 4.0842, 23.3146)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462087 #618720
analogous
#202D87 #462087 #792087
triadic
#462087 #874620 #208746
tetradic
#462087 #87202D #618720 #208779
square
#462087 #87202D #618720 #208779
split-complementary
#462087 #877920 #2D8720
monochromatic
#130924 #2C1456 #462087 #602CB8 #7F4DD5

Accessibility & contrast

On white

11.56
#462087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462087
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462087#FFFFFF#000000##FFFFFF
##4620871.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#323B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462087;
/* rgb */ color: rgb(70, 32, 135);
/* oklch */ color: oklch(36.3% 0.159 293.7);
Tailwind
colors: {
  custom: {
    50: '#8060ab',
    500: '#462087',
    950: '#000000',
  },
}
SCSS
$custom: #462087;
$custom-light: #8060ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462087",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 262.136,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.15901,
    "h": 293.7
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#462087
secondary
#90B84B
accent
#E543A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462087

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

Preview Lab → · Contrast checker → · Palette generator →

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