#462CA6#462CA6

#462CA6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.183 H 284.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#462CA6
RGBrgb(70, 44, 166)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 73%, 65%)
CMYKcmyk(57.8%, 73.5%, 0%, 34.9%)
CIE-LABlab(29.05, 44.27, -61.47)
CIE-LCHlch(29.05, 75.75, 305.76°)
OKLaboklab(40.78% 0.0462 -0.177)
OKLCHoklch(40.78% 0.183 284.6)
XYZxyz(10.3073, 5.8560, 36.6562)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA6 #8CA62C
analogous
#2C4FA6 #462CA6 #832CA6
triadic
#462CA6 #A6462C #2CA646
tetradic
#462CA6 #A62C4F #8CA62C #2CA683
square
#462CA6 #A62C4F #8CA62C #2CA683
split-complementary
#462CA6 #A6832C #4FA62C
monochromatic
#1D1245 #321F76 #462CA6 #6042CD #8973DA

Accessibility & contrast

On white

9.67
#462CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#462CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA6
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA6#FFFFFF#000000##FFFFFF
##462CA61.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#144D66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ca6;
/* rgb */ color: rgb(70, 44, 166);
/* oklch */ color: oklch(40.8% 0.183 284.6);
Tailwind
colors: {
  custom: {
    50: '#8468c1',
    500: '#462ca6',
    950: '#000000',
  },
}
SCSS
$custom: #462ca6;
$custom-light: #8468c1;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca6",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 252.787,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.18292,
    "h": 284.6
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#462CA6
secondary
#AFC16D
accent
#E146C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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