#462B91#462B91

#462B91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.158 H 289.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#462B91
RGBrgb(70, 43, 145)
HSLhsl(256, 54%, 37%)
HSVhsv(256, 70%, 57%)
CMYKcmyk(51.7%, 70.3%, 0%, 43.1%)
CIE-LABlab(26.94, 38.48, -52.09)
CIE-LCHlch(26.94, 64.77, 306.45°)
OKLaboklab(38.7% 0.0514 -0.1495)
OKLCHoklch(38.7% 0.158 289)
XYZxyz(8.4990, 5.0738, 27.3141)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B91 #76912B
analogous
#2B4391 #462B91 #792B91
triadic
#462B91 #91462B #2B9146
tetradic
#462B91 #912B43 #76912B #2B9179
square
#462B91 #912B43 #76912B #2B9179
split-complementary
#462B91 #91792B #43912B
monochromatic
#180F33 #2F1D62 #462B91 #5D39C0 #8265D1

Accessibility & contrast

On white

10.42
#462B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B91
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B91#FFFFFF#000000##FFFFFF
##462B911.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#2B455A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462b91;
/* rgb */ color: rgb(70, 43, 145);
/* oklch */ color: oklch(38.7% 0.158 289.0);
Tailwind
colors: {
  custom: {
    50: '#8166b2',
    500: '#462b91',
    950: '#000000',
  },
}
SCSS
$custom: #462b91;
$custom-light: #8166b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462b91",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 255.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.15809,
    "h": 289
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#462B91
secondary
#A0B860
accent
#DE4AB7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462B91

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

Preview Lab → · Contrast checker → · Palette generator →

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