#462E99#462E99

#462E99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.165 H 286.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#462E99
RGBrgb(70, 46, 153)
HSLhsl(253, 54%, 39%)
HSVhsv(253, 70%, 60%)
CMYKcmyk(54.2%, 69.9%, 0%, 40%)
CIE-LABlab(28.26, 39.21, -54.85)
CIE-LCHlch(28.26, 67.43, 305.56°)
OKLaboklab(39.86% 0.0471 -0.1576)
OKLCHoklch(39.86% 0.165 286.6)
XYZxyz(9.2508, 5.5555, 30.7157)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E99 #81992E
analogous
#2E4C99 #462E99 #7C2E99
triadic
#462E99 #99462E #2E9946
tetradic
#462E99 #992E4C #81992E #2E997C
square
#462E99 #992E4C #81992E #2E997C
split-complementary
#462E99 #997C2E #4C992E
monochromatic
#1B123B #30206A #462E99 #5D3FC5 #856ED3

Accessibility & contrast

On white

9.95
#462E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#462E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E99
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E99#FFFFFF#000000##FFFFFF
##462E991.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#244A60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462e99;
/* rgb */ color: rgb(70, 46, 153);
/* oklch */ color: oklch(39.9% 0.165 286.6);
Tailwind
colors: {
  custom: {
    50: '#8269b8',
    500: '#462e99',
    950: '#000000',
  },
}
SCSS
$custom: #462e99;
$custom-light: #8269b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462e99",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 253.458,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.1645,
    "h": 286.6
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#462E99
secondary
#A8BB68
accent
#DD4BBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462E99

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

Preview Lab → · Contrast checker → · Palette generator →

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