#462BAB#462BAB

#462BAB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.190 H 283.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#462BAB
RGBrgb(70, 43, 171)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(59.1%, 74.9%, 0%, 32.9%)
CIE-LABlab(29.34, 46.30, -64.00)
CIE-LCHlch(29.34, 78.99, 305.88°)
OKLaboklab(41.13% 0.0458 -0.1844)
OKLCHoklch(41.13% 0.19 283.9)
XYZxyz(10.7381, 5.9694, 39.1066)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BAB #90AB2B
analogous
#2B50AB #462BAB #862BAB
triadic
#462BAB #AB462B #2BAB46
tetradic
#462BAB #AB2B50 #90AB2B #2BAB86
square
#462BAB #AB2B50 #90AB2B #2BAB86
split-complementary
#462BAB #AB862B #50AB2B
monochromatic
#1E1249 #321F7A #462BAB #6143D0 #8A74DC

Accessibility & contrast

On white

9.57
#462BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#462BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BAB
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BAB#FFFFFF#000000##FFFFFF
##462BAB1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#074F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462bab;
/* rgb */ color: rgb(70, 43, 171);
/* oklch */ color: oklch(41.1% 0.190 283.9);
Tailwind
colors: {
  custom: {
    50: '#8568c5',
    500: '#462bab',
    950: '#000000',
  },
}
SCSS
$custom: #462bab;
$custom-light: #8568c5;
$custom-dark: #000000;
JSON
{
  "hex": "#462bab",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 252.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.19,
    "h": 283.9
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#462BAB
secondary
#B2C46E
accent
#E345C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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