#462AA5#462AA5

#462AA5 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.184 H 285.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#462AA5
RGBrgb(70, 42, 165)
HSLhsl(254, 59%, 41%)
HSVhsv(254, 75%, 65%)
CMYKcmyk(57.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(28.57, 45.03, -61.64)
CIE-LCHlch(28.57, 76.33, 306.15°)
OKLaboklab(40.42% 0.048 -0.1775)
OKLCHoklch(40.42% 0.184 285.1)
XYZxyz(10.1432, 5.6740, 36.1507)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA5 #89A52A
analogous
#2A4BA5 #462AA5 #842AA5
triadic
#462AA5 #A5462A #2AA546
tetradic
#462AA5 #A52A4B #89A52A #2AA584
square
#462AA5 #A52A4B #89A52A #2AA584
split-complementary
#462AA5 #A5842A #4BA52A
monochromatic
#1D1143 #311E74 #462AA5 #5F3ECE #876FDA

Accessibility & contrast

On white

9.84
#462AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#462AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AA5
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA5#FFFFFF#000000##FFFFFF
##462AA51.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#164C65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462aa5;
/* rgb */ color: rgb(70, 42, 165);
/* oklch */ color: oklch(40.4% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#8467c1',
    500: '#462aa5',
    950: '#000000',
  },
}
SCSS
$custom: #462aa5;
$custom-light: #8467c1;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa5",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 253.659,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.18384,
    "h": 285.1
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#462AA5
secondary
#ADC169
accent
#E345BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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