#462FA6#462FA6

#462FA6 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.180 H 284.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#462FA6
RGBrgb(70, 47, 166)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.8%, 71.7%, 0%, 34.9%)
CIE-LABlab(29.63, 42.63, -60.50)
CIE-LCHlch(29.63, 74.02, 305.17°)
OKLaboklab(41.2% 0.0438 -0.1742)
OKLCHoklch(41.2% 0.18 284.1)
XYZxyz(10.4231, 6.0877, 36.6948)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA6 #8FA62F
analogous
#2F53A6 #462FA6 #822FA6
triadic
#462FA6 #A6462F #2FA646
tetradic
#462FA6 #A62F53 #8FA62F #2FA682
square
#462FA6 #A62F53 #8FA62F #2FA682
split-complementary
#462FA6 #A6822F #53A62F
monochromatic
#1E1447 #322176 #462FA6 #6147CB #8A77D8

Accessibility & contrast

On white

9.47
#462FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#462FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA6
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA6#FFFFFF#000000##FFFFFF
##462FA61.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#134F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462fa6;
/* rgb */ color: rgb(70, 47, 166);
/* oklch */ color: oklch(41.2% 0.180 284.1);
Tailwind
colors: {
  custom: {
    50: '#846ac1',
    500: '#462fa6',
    950: '#000000',
  },
}
SCSS
$custom: #462fa6;
$custom-light: #846ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa6",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 251.597,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.1796,
    "h": 284.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#462FA6
secondary
#B1C170
accent
#DF49C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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