#462A91#462A91

#462A91 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.159 H 289.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#462A91
RGBrgb(70, 42, 145)
HSLhsl(256, 55%, 37%)
HSVhsv(256, 71%, 57%)
CMYKcmyk(51.7%, 71%, 0%, 43.1%)
CIE-LABlab(26.74, 39.05, -52.43)
CIE-LCHlch(26.74, 65.37, 306.68°)
OKLaboklab(38.55% 0.0523 -0.1505)
OKLCHoklch(38.55% 0.159 289.2)
XYZxyz(8.4631, 5.0020, 27.3021)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A91 #75912A
analogous
#2A4291 #462A91 #7A2A91
triadic
#462A91 #91462A #2A9146
tetradic
#462A91 #912A42 #75912A #2A917A
square
#462A91 #912A42 #75912A #2A917A
split-complementary
#462A91 #917A2A #42912A
monochromatic
#180F32 #2F1C62 #462A91 #5D38C0 #8163D2

Accessibility & contrast

On white

10.50
#462A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#462A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A91
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A91#FFFFFF#000000##FFFFFF
##462A911.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#2B445A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462a91;
/* rgb */ color: rgb(70, 42, 145);
/* oklch */ color: oklch(38.6% 0.159 289.2);
Tailwind
colors: {
  custom: {
    50: '#8166b2',
    500: '#462a91',
    950: '#000000',
  },
}
SCSS
$custom: #462a91;
$custom-light: #8166b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462a91",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 256.311,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.15932,
    "h": 289.2
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#462A91
secondary
#A0B85F
accent
#DE49B6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462A91

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

Preview Lab → · Contrast checker → · Palette generator →

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