#462DAC#462DAC

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

Color values

HEX#462DAC
RGBrgb(70, 45, 172)
HSLhsl(252, 59%, 43%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(59.3%, 73.8%, 0%, 32.5%)
CIE-LABlab(29.80, 45.55, -63.83)
CIE-LCHlch(29.80, 78.42, 305.51°)
OKLaboklab(41.49% 0.0441 -0.1839)
OKLCHoklch(41.49% 0.189 283.5)
XYZxyz(10.9083, 6.1567, 39.6353)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DAC #93AC2D
analogous
#2D54AC #462DAC #852DAC
triadic
#462DAC #AC462D #2DAC46
tetradic
#462DAC #AC2D54 #93AC2D #2DAC85
square
#462DAC #AC2D54 #93AC2D #2DAC85
split-complementary
#462DAC #AC852D #54AC2D
monochromatic
#1F144B #32207B #462DAC #6247CF #8B78DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462DAC#FFFFFF#000000##FFFFFF
##462DAC1.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)
#004AB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#04506A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462dac;
/* rgb */ color: rgb(70, 45, 172);
/* oklch */ color: oklch(41.5% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#8569c6',
    500: '#462dac',
    950: '#000000',
  },
}
SCSS
$custom: #462dac;
$custom-light: #8569c6;
$custom-dark: #000000;
JSON
{
  "hex": "#462dac",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 251.811,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.18911,
    "h": 283.5
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#462DAC
secondary
#B3C471
accent
#E246C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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