#462EAA#462EAA

#462EAA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.186 H 283.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#462EAA
RGBrgb(70, 46, 170)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.81, 44.41, -62.63)
CIE-LCHlch(29.81, 76.77, 305.34°)
OKLaboklab(41.43% 0.0437 -0.1804)
OKLCHoklch(41.43% 0.186 283.6)
XYZxyz(10.7562, 6.1577, 38.6442)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EAA #92AA2E
analogous
#2E54AA #462EAA #842EAA
triadic
#462EAA #AA462E #2EAA46
tetradic
#462EAA #AA2E54 #92AA2E #2EAA84
square
#462EAA #AA2E54 #92AA2E #2EAA84
split-complementary
#462EAA #AA842E #54AA2E
monochromatic
#1E144A #32217A #462EAA #6248CD #8B78DA

Accessibility & contrast

On white

9.41
#462EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#462EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EAA
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EAA#FFFFFF#000000##FFFFFF
##462EAA1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#0A5069
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462eaa;
/* rgb */ color: rgb(70, 46, 170);
/* oklch */ color: oklch(41.4% 0.186 283.6);
Tailwind
colors: {
  custom: {
    50: '#8569c4',
    500: '#462eaa',
    950: '#000000',
  },
}
SCSS
$custom: #462eaa;
$custom-light: #8569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#462eaa",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 251.613,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.18562,
    "h": 283.6
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#462EAA
secondary
#B3C371
accent
#E147C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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