#462FA5#462FA5

#462FA5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.178 H 284.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#462FA5
RGBrgb(70, 47, 165)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.6%, 71.5%, 0%, 35.3%)
CIE-LABlab(29.54, 42.33, -60.05)
CIE-LCHlch(29.54, 73.47, 305.18°)
OKLaboklab(41.1% 0.044 -0.1729)
OKLCHoklch(41.1% 0.178 284.3)
XYZxyz(10.3318, 6.0511, 36.2136)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA5 #8EA52F
analogous
#2F53A5 #462FA5 #812FA5
triadic
#462FA5 #A5462F #2FA546
tetradic
#462FA5 #A52F53 #8EA52F #2FA581
square
#462FA5 #A52F53 #8EA52F #2FA581
split-complementary
#462FA5 #A5812F #53A52F
monochromatic
#1E1446 #322175 #462FA5 #6047CB #8976D8

Accessibility & contrast

On white

9.50
#462FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#462FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA5#FFFFFF#000000##FFFFFF
##462FA51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#154F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462fa5;
/* rgb */ color: rgb(70, 47, 165);
/* oklch */ color: oklch(41.1% 0.178 284.3);
Tailwind
colors: {
  custom: {
    50: '#846ac1',
    500: '#462fa5',
    950: '#000000',
  },
}
SCSS
$custom: #462fa5;
$custom-light: #846ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa5",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 251.695,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.17836,
    "h": 284.3
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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