#462EA1#462EA1

#462EA1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.175 H 285.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#462EA1
RGBrgb(70, 46, 161)
HSLhsl(253, 56%, 41%)
HSVhsv(253, 71%, 63%)
CMYKcmyk(56.5%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.98, 41.66, -58.56)
CIE-LCHlch(28.98, 71.86, 305.43°)
OKLaboklab(40.59% 0.0456 -0.1685)
OKLCHoklch(40.59% 0.175 285.1)
XYZxyz(9.9339, 5.8287, 34.3129)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA1 #89A12E
analogous
#2E4FA1 #462EA1 #7F2EA1
triadic
#462EA1 #A1462E #2EA146
tetradic
#462EA1 #A12E4F #89A12E #2EA17F
square
#462EA1 #A12E4F #89A12E #2EA17F
split-complementary
#462EA1 #A17F2E #4FA12E
monochromatic
#1D1342 #312071 #462EA1 #5F43C9 #8773D7

Accessibility & contrast

On white

9.70
#462EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462EA1
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA1#FFFFFF#000000##FFFFFF
##462EA11.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#1B4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ea1;
/* rgb */ color: rgb(70, 46, 161);
/* oklch */ color: oklch(40.6% 0.175 285.1);
Tailwind
colors: {
  custom: {
    50: '#8369be',
    500: '#462ea1',
    950: '#000000',
  },
}
SCSS
$custom: #462ea1;
$custom-light: #8369be;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea1",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 252.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.17453,
    "h": 285.1
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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