#462C96#462C96

#462C96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.163 H 287.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#462C96
RGBrgb(70, 44, 150)
HSLhsl(255, 55%, 38%)
HSVhsv(255, 71%, 59%)
CMYKcmyk(53.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(27.59, 39.43, -54.12)
CIE-LCHlch(27.59, 66.96, 306.08°)
OKLaboklab(39.3% 0.0495 -0.1555)
OKLCHoklch(39.3% 0.163 287.7)
XYZxyz(8.9299, 5.3050, 29.4017)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C96 #7C962C
analogous
#2C4796 #462C96 #7B2C96
triadic
#462C96 #96462C #2C9646
tetradic
#462C96 #962C47 #7C962C #2C967B
square
#462C96 #962C47 #7C962C #2C967B
split-complementary
#462C96 #967B2C #47962C
monochromatic
#1A1037 #301E67 #462C96 #5C3AC5 #8369D3

Accessibility & contrast

On white

10.19
#462C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#462C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C96
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C96#FFFFFF#000000##FFFFFF
##462C961.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#27475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462c96;
/* rgb */ color: rgb(70, 44, 150);
/* oklch */ color: oklch(39.3% 0.163 287.7);
Tailwind
colors: {
  custom: {
    50: '#8267b6',
    500: '#462c96',
    950: '#000000',
  },
}
SCSS
$custom: #462c96;
$custom-light: #8267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462c96",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 254.717,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.16315,
    "h": 287.7
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#462C96
secondary
#A5BA64
accent
#DE4ABA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C96

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

Preview Lab → · Contrast checker → · Palette generator →

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