#462B84#462B84

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

Color values

HEX#462B84
RGBrgb(70, 43, 132)
HSLhsl(258, 51%, 34%)
HSVhsv(258, 67%, 52%)
CMYKcmyk(47%, 67.4%, 0%, 48.2%)
CIE-LABlab(25.85, 34.58, -45.80)
CIE-LCHlch(25.85, 57.39, 307.06°)
OKLaboklab(37.57% 0.0533 -0.131)
OKLCHoklch(37.57% 0.141 292.2)
XYZxyz(7.5534, 4.6955, 22.3337)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B84 #69842B
analogous
#2B3D84 #462B84 #732B84
triadic
#462B84 #84462B #2B8446
tetradic
#462B84 #842B3D #69842B #2B8473
square
#462B84 #842B3D #69842B #2B8473
split-complementary
#462B84 #84732B #3D842B
monochromatic
#150D28 #2E1C56 #462B84 #5E3AB2 #7F5FCB

Accessibility & contrast

On white

10.83
#462B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462B84
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B84#FFFFFF#000000##FFFFFF
##462B841.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#344053
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462b84;
/* rgb */ color: rgb(70, 43, 132);
/* oklch */ color: oklch(37.6% 0.141 292.2);
Tailwind
colors: {
  custom: {
    50: '#7f66a8',
    500: '#462b84',
    950: '#000000',
  },
}
SCSS
$custom: #462b84;
$custom-light: #7f66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462b84",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 258.202,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.14144,
    "h": 292.2
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#462B84
secondary
#96B15A
accent
#DA4DB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B84

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

Preview Lab → · Contrast checker → · Palette generator →

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