#462BA1#462BA1

#462BA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.178 H 285.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#462BA1
RGBrgb(70, 43, 161)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 73%, 63%)
CMYKcmyk(56.5%, 73.3%, 0%, 36.9%)
CIE-LABlab(28.39, 43.30, -59.52)
CIE-LCHlch(28.39, 73.61, 306.04°)
OKLaboklab(40.17% 0.0481 -0.1713)
OKLCHoklch(40.17% 0.178 285.7)
XYZxyz(9.8207, 5.6025, 34.2752)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA1 #86A12B
analogous
#2B4BA1 #462BA1 #812BA1
triadic
#462BA1 #A1462B #2BA146
tetradic
#462BA1 #A12B4B #86A12B #2BA181
square
#462BA1 #A12B4B #86A12B #2BA181
split-complementary
#462BA1 #A1812B #4BA12B
monochromatic
#1C1140 #311E71 #462BA1 #5E3ECB #866ED8

Accessibility & contrast

On white

9.90
#462BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#462BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BA1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA1#FFFFFF#000000##FFFFFF
##462BA11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#1C4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ba1;
/* rgb */ color: rgb(70, 43, 161);
/* oklch */ color: oklch(40.2% 0.178 285.7);
Tailwind
colors: {
  custom: {
    50: '#8467be',
    500: '#462ba1',
    950: '#000000',
  },
}
SCSS
$custom: #462ba1;
$custom-light: #8467be;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba1",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 253.729,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.17792,
    "h": 285.7
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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