#462A86#462A86

#462A86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.145 H 291.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#462A86
RGBrgb(70, 42, 134)
HSLhsl(258, 52%, 35%)
HSVhsv(258, 69%, 53%)
CMYKcmyk(47.8%, 68.7%, 0%, 47.5%)
CIE-LABlab(25.80, 35.76, -47.13)
CIE-LCHlch(25.80, 59.16, 307.19°)
OKLaboklab(37.59% 0.0542 -0.1349)
OKLCHoklch(37.59% 0.145 291.9)
XYZxyz(7.6556, 4.6790, 23.0494)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A86 #6A862A
analogous
#2A3C86 #462A86 #742A86
triadic
#462A86 #86462A #2A8646
tetradic
#462A86 #862A3C #6A862A #2A8674
square
#462A86 #862A3C #6A862A #2A8674
split-complementary
#462A86 #86742A #3C862A
monochromatic
#150D29 #2E1B57 #462A86 #5E39B5 #805ECD

Accessibility & contrast

On white

10.85
#462A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A86
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A86#FFFFFF#000000##FFFFFF
##462A861.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#334054
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462a86;
/* rgb */ color: rgb(70, 42, 134);
/* oklch */ color: oklch(37.6% 0.145 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f65aa',
    500: '#462a86',
    950: '#000000',
  },
}
SCSS
$custom: #462a86;
$custom-light: #7f65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#462a86",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 258.261,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.14538,
    "h": 291.9
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#462A86
secondary
#97B25A
accent
#DC4CB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A86

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

Preview Lab → · Contrast checker → · Palette generator →

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