#462EA2#462EA2

#462EA2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.176 H 285.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#462EA2
RGBrgb(70, 46, 162)
HSLhsl(252, 56%, 41%)
HSVhsv(252, 72%, 64%)
CMYKcmyk(56.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(29.07, 41.96, -59.01)
CIE-LCHlch(29.07, 72.41, 305.42°)
OKLaboklab(40.68% 0.0454 -0.1698)
OKLCHoklch(40.68% 0.176 285)
XYZxyz(10.0224, 5.8641, 34.7792)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA2 #8AA22E
analogous
#2E50A2 #462EA2 #802EA2
triadic
#462EA2 #A2462E #2EA246
tetradic
#462EA2 #A22E50 #8AA22E #2EA280
square
#462EA2 #A22E50 #8AA22E #2EA280
split-complementary
#462EA2 #A2802E #50A22E
monochromatic
#1D1343 #312072 #462EA2 #5F43CA #8873D7

Accessibility & contrast

On white

9.66
#462EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#462EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA2
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA2#FFFFFF#000000##FFFFFF
##462EA21.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#1A4D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ea2;
/* rgb */ color: rgb(70, 46, 162);
/* oklch */ color: oklch(40.7% 0.176 285.0);
Tailwind
colors: {
  custom: {
    50: '#8469bf',
    500: '#462ea2',
    950: '#000000',
  },
}
SCSS
$custom: #462ea2;
$custom-light: #8469bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea2",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 252.414,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.17577,
    "h": 285
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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