#462FA7#462FA7

#462FA7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.181 H 283.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#462FA7
RGBrgb(70, 47, 167)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(58.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(29.72, 42.94, -60.96)
CIE-LCHlch(29.72, 74.56, 305.16°)
OKLaboklab(41.29% 0.0436 -0.1755)
OKLCHoklch(41.29% 0.181 283.9)
XYZxyz(10.5152, 6.1245, 37.1798)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA7 #90A72F
analogous
#2F54A7 #462FA7 #822FA7
triadic
#462FA7 #A7462F #2FA746
tetradic
#462FA7 #A72F54 #90A72F #2FA782
square
#462FA7 #A72F54 #90A72F #2FA782
split-complementary
#462FA7 #A7822F #54A72F
monochromatic
#1E1447 #322277 #462FA7 #6148CB #8A78D9

Accessibility & contrast

On white

9.44
#462FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462FA7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA7#FFFFFF#000000##FFFFFF
##462FA71.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#114F68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462fa7;
/* rgb */ color: rgb(70, 47, 167);
/* oklch */ color: oklch(41.3% 0.181 283.9);
Tailwind
colors: {
  custom: {
    50: '#846ac2',
    500: '#462fa7',
    950: '#000000',
  },
}
SCSS
$custom: #462fa7;
$custom-light: #846ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa7",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 251.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.18084,
    "h": 283.9
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#462FA7
secondary
#B2C171
accent
#DF48C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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