#462AA0#462AA0

#462AA0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.178 H 286.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#462AA0
RGBrgb(70, 42, 160)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 74%, 63%)
CMYKcmyk(56.3%, 73.8%, 0%, 37.3%)
CIE-LABlab(28.10, 43.54, -59.38)
CIE-LCHlch(28.10, 73.63, 306.25°)
OKLaboklab(39.94% 0.0492 -0.1709)
OKLCHoklch(39.94% 0.178 286.1)
XYZxyz(9.6970, 5.4955, 33.8007)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA0 #84A02A
analogous
#2A49A0 #462AA0 #812AA0
triadic
#462AA0 #A0462A #2AA046
tetradic
#462AA0 #A02A49 #84A02A #2AA081
square
#462AA0 #A02A49 #84A02A #2AA081
split-complementary
#462AA0 #A0812A #49A02A
monochromatic
#1C113F #311D70 #462AA0 #5E3CCC #866CD8

Accessibility & contrast

On white

10.00
#462AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#462AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AA0
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA0#FFFFFF#000000##FFFFFF
##462AA01.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#1D4A62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462aa0;
/* rgb */ color: rgb(70, 42, 160);
/* oklch */ color: oklch(39.9% 0.178 286.1);
Tailwind
colors: {
  custom: {
    50: '#8466bd',
    500: '#462aa0',
    950: '#000000',
  },
}
SCSS
$custom: #462aa0;
$custom-light: #8466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa0",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 254.237,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.1778,
    "h": 286.1
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#462AA0
secondary
#AABF67
accent
#E246BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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