#462FA3#462FA3

#462FA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.176 H 284.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#462FA3
RGBrgb(70, 47, 163)
HSLhsl(252, 55%, 41%)
HSVhsv(252, 71%, 64%)
CMYKcmyk(57.1%, 71.2%, 0%, 36.1%)
CIE-LABlab(29.36, 41.71, -59.14)
CIE-LCHlch(29.36, 72.37, 305.20°)
OKLaboklab(40.92% 0.0444 -0.1702)
OKLCHoklch(40.92% 0.176 284.6)
XYZxyz(10.1512, 5.9789, 35.2624)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA3 #8CA32F
analogous
#2F52A3 #462FA3 #802FA3
triadic
#462FA3 #A3462F #2FA346
tetradic
#462FA3 #A32F52 #8CA32F #2FA380
square
#462FA3 #A32F52 #8CA32F #2FA380
split-complementary
#462FA3 #A3802F #52A32F
monochromatic
#1D1444 #322173 #462FA3 #6046CA #8975D7

Accessibility & contrast

On white

9.56
#462FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#462FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA3
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA3#FFFFFF#000000##FFFFFF
##462FA31.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#184E65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462fa3;
/* rgb */ color: rgb(70, 47, 163);
/* oklch */ color: oklch(40.9% 0.176 284.6);
Tailwind
colors: {
  custom: {
    50: '#846abf',
    500: '#462fa3',
    950: '#000000',
  },
}
SCSS
$custom: #462fa3;
$custom-light: #846abf;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa3",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 251.897,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.17588,
    "h": 284.6
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#462FA3
secondary
#AFBF6F
accent
#DF49C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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