#462987#462987

#462987 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.148 H 291.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#462987
RGBrgb(70, 41, 135)
HSLhsl(259, 53%, 35%)
HSVhsv(259, 70%, 53%)
CMYKcmyk(48.1%, 69.6%, 0%, 47.1%)
CIE-LABlab(25.67, 36.63, -47.96)
CIE-LCHlch(25.67, 60.35, 307.37°)
OKLaboklab(37.52% 0.0551 -0.1373)
OKLCHoklch(37.52% 0.148 291.9)
XYZxyz(7.6907, 4.6370, 23.4068)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462987 #6A8729
analogous
#293B87 #462987 #752987
triadic
#462987 #874629 #298746
tetradic
#462987 #87293B #6A8729 #298775
square
#462987 #87293B #6A8729 #298775
split-complementary
#462987 #877529 #3B8729
monochromatic
#150C29 #2E1B58 #462987 #5E37B6 #805DCE

Accessibility & contrast

On white

10.90
#462987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462987
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462987#FFFFFF#000000##FFFFFF
##4629871.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#324054
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462987;
/* rgb */ color: rgb(70, 41, 135);
/* oklch */ color: oklch(37.5% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#8065ab',
    500: '#462987',
    950: '#000000',
  },
}
SCSS
$custom: #462987;
$custom-light: #8065ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462987",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 258.511,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37524,
    "c": 0.14798,
    "h": 291.9
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#462987
secondary
#97B359
accent
#DD4BB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462987

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

Preview Lab → · Contrast checker → · Palette generator →

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