#462AA8#462AA8

#462AA8 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.187 H 284.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#462AA8
RGBrgb(70, 42, 168)
HSLhsl(253, 60%, 41%)
HSVhsv(253, 75%, 66%)
CMYKcmyk(58.3%, 75%, 0%, 34.1%)
CIE-LABlab(28.86, 45.93, -62.97)
CIE-LCHlch(28.86, 77.94, 306.10°)
OKLaboklab(40.71% 0.0473 -0.1814)
OKLCHoklch(40.71% 0.187 284.6)
XYZxyz(10.4195, 5.7845, 37.6057)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA8 #8CA82A
analogous
#2A4DA8 #462AA8 #852AA8
triadic
#462AA8 #A8462A #2AA846
tetradic
#462AA8 #A82A4D #8CA82A #2AA885
square
#462AA8 #A82A4D #8CA82A #2AA885
split-complementary
#462AA8 #A8852A #4DA82A
monochromatic
#1D1246 #321E77 #462AA8 #6040CF #8971DB

Accessibility & contrast

On white

9.74
#462AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#462AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AA8
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA8#FFFFFF#000000##FFFFFF
##462AA81.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#104D67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462aa8;
/* rgb */ color: rgb(70, 42, 168);
/* oklch */ color: oklch(40.7% 0.187 284.6);
Tailwind
colors: {
  custom: {
    50: '#8567c3',
    500: '#462aa8',
    950: '#000000',
  },
}
SCSS
$custom: #462aa8;
$custom-light: #8567c3;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa8",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 253.333,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.18744,
    "h": 284.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#462AA8
secondary
#AFC36B
accent
#E345C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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