#462EA3#462EA3

#462EA3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.177 H 284.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#462EA3
RGBrgb(70, 46, 163)
HSLhsl(252, 56%, 41%)
HSVhsv(252, 72%, 64%)
CMYKcmyk(57.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.16, 42.27, -59.47)
CIE-LCHlch(29.16, 72.96, 305.40°)
OKLaboklab(40.78% 0.0452 -0.1711)
OKLCHoklch(40.78% 0.177 284.8)
XYZxyz(10.1116, 5.8998, 35.2492)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA3 #8BA32E
analogous
#2E50A3 #462EA3 #802EA3
triadic
#462EA3 #A3462E #2EA346
tetradic
#462EA3 #A32E50 #8BA32E #2EA380
square
#462EA3 #A32E50 #8BA32E #2EA380
split-complementary
#462EA3 #A3802E #50A32E
monochromatic
#1D1344 #322173 #462EA3 #6044CA #8874D8

Accessibility & contrast

On white

9.63
#462EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#462EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA3
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA3#FFFFFF#000000##FFFFFF
##462EA31.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462ea3;
/* rgb */ color: rgb(70, 46, 163);
/* oklch */ color: oklch(40.8% 0.177 284.8);
Tailwind
colors: {
  custom: {
    50: '#8469bf',
    500: '#462ea3',
    950: '#000000',
  },
}
SCSS
$custom: #462ea3;
$custom-light: #8469bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea3",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 252.308,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.17702,
    "h": 284.8
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#462EA3
secondary
#AFBF6D
accent
#DF49C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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