#462C84#462C84

#462C84 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.140 H 291.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#462C84
RGBrgb(70, 44, 132)
HSLhsl(258, 50%, 35%)
HSVhsv(258, 67%, 52%)
CMYKcmyk(47%, 66.7%, 0%, 48.2%)
CIE-LABlab(26.07, 33.99, -45.44)
CIE-LCHlch(26.07, 56.75, 306.80°)
OKLaboklab(37.73% 0.0522 -0.13)
OKLCHoklch(37.73% 0.14 291.9)
XYZxyz(7.5902, 4.7691, 22.3459)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C84 #6A842C
analogous
#2C3E84 #462C84 #722C84
triadic
#462C84 #84462C #2C8446
tetradic
#462C84 #842C3E #6A842C #2C8472
square
#462C84 #842C3E #6A842C #2C8472
split-complementary
#462C84 #84722C #3E842C
monochromatic
#150D28 #2E1D56 #462C84 #5E3BB2 #8060CA

Accessibility & contrast

On white

10.75
#462C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C84
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C84#FFFFFF#000000##FFFFFF
##462C841.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#334154
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462c84;
/* rgb */ color: rgb(70, 44, 132);
/* oklch */ color: oklch(37.7% 0.140 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f67a8',
    500: '#462c84',
    950: '#000000',
  },
}
SCSS
$custom: #462c84;
$custom-light: #7f67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462c84",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 257.727,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.14006,
    "h": 291.9
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#462C84
secondary
#97B05C
accent
#DA4EB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462C84

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

Preview Lab → · Contrast checker → · Palette generator →

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