#462AA2#462AA2

#462AA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.180 H 285.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#462AA2
RGBrgb(70, 42, 162)
HSLhsl(254, 59%, 40%)
HSVhsv(254, 74%, 64%)
CMYKcmyk(56.8%, 74.1%, 0%, 36.5%)
CIE-LABlab(28.29, 44.14, -60.29)
CIE-LCHlch(28.29, 74.72, 306.21°)
OKLaboklab(40.13% 0.0487 -0.1735)
OKLCHoklch(40.13% 0.18 285.7)
XYZxyz(9.8734, 5.5661, 34.7295)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA2 #86A22A
analogous
#2A4AA2 #462AA2 #822AA2
triadic
#462AA2 #A2462A #2AA246
tetradic
#462AA2 #A22A4A #86A22A #2AA282
square
#462AA2 #A22A4A #86A22A #2AA282
split-complementary
#462AA2 #A2822A #4AA22A
monochromatic
#1C1141 #311D71 #462AA2 #5E3DCD #866DD9

Accessibility & contrast

On white

9.94
#462AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462AA2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA2#FFFFFF#000000##FFFFFF
##462AA21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#1A4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462aa2;
/* rgb */ color: rgb(70, 42, 162);
/* oklch */ color: oklch(40.1% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#462aa2',
    950: '#000000',
  },
}
SCSS
$custom: #462aa2;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa2",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 254,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.40131,
    "c": 0.18023,
    "h": 285.7
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#462AA2
secondary
#ABC068
accent
#E246BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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