#462E87#462E87

#462E87 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.141 H 290.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#462E87
RGBrgb(70, 46, 135)
HSLhsl(256, 49%, 35%)
HSVhsv(256, 66%, 53%)
CMYKcmyk(48.1%, 65.9%, 0%, 47.1%)
CIE-LABlab(26.75, 33.71, -46.21)
CIE-LCHlch(26.75, 57.20, 306.11°)
OKLaboklab(38.3% 0.0496 -0.1322)
OKLCHoklch(38.3% 0.141 290.6)
XYZxyz(7.8747, 5.0051, 23.4681)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E87 #6F872E
analogous
#2E4287 #462E87 #722E87
triadic
#462E87 #87462E #2E8746
tetradic
#462E87 #872E42 #6F872E #2E8772
square
#462E87 #872E42 #6F872E #2E8772
split-complementary
#462E87 #87722E #42872E
monochromatic
#170F2C #2E1E59 #462E87 #5E3EB5 #8065CA

Accessibility & contrast

On white

10.49
#462E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#462E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E87
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E87#FFFFFF#000000##FFFFFF
##462E871.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#324356
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462e87;
/* rgb */ color: rgb(70, 46, 135);
/* oklch */ color: oklch(38.3% 0.141 290.6);
Tailwind
colors: {
  custom: {
    50: '#7f68ab',
    500: '#462e87',
    950: '#000000',
  },
}
SCSS
$custom: #462e87;
$custom-light: #7f68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462e87",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 256.18,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.14123,
    "h": 290.6
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#462E87
secondary
#9BB160
accent
#D94FB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462E87

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

Preview Lab → · Contrast checker → · Palette generator →

#462E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva