#462BA2#462BA2

#462BA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.179 H 285.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#462BA2
RGBrgb(70, 43, 162)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 73%, 64%)
CMYKcmyk(56.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(28.48, 43.60, -59.98)
CIE-LCHlch(28.48, 74.15, 306.02°)
OKLaboklab(40.27% 0.0479 -0.1726)
OKLCHoklch(40.27% 0.179 285.5)
XYZxyz(9.9093, 5.6379, 34.7415)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA2 #87A22B
analogous
#2B4CA2 #462BA2 #812BA2
triadic
#462BA2 #A2462B #2BA246
tetradic
#462BA2 #A22B4C #87A22B #2BA281
square
#462BA2 #A22B4C #87A22B #2BA281
split-complementary
#462BA2 #A2812B #4CA22B
monochromatic
#1C1141 #311E72 #462BA2 #5E3ECC #876FD9

Accessibility & contrast

On white

9.87
#462BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#462BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BA2
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA2#FFFFFF#000000##FFFFFF
##462BA21.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#1A4B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ba2;
/* rgb */ color: rgb(70, 43, 162);
/* oklch */ color: oklch(40.3% 0.179 285.5);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#462ba2',
    950: '#000000',
  },
}
SCSS
$custom: #462ba2;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba2",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 253.613,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.17914,
    "h": 285.5
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#462BA2
secondary
#ACC069
accent
#E147BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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