#462F91#462F91

#462F91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.153 H 288.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#462F91
RGBrgb(70, 47, 145)
HSLhsl(254, 51%, 38%)
HSVhsv(254, 68%, 57%)
CMYKcmyk(51.7%, 67.6%, 0%, 43.1%)
CIE-LABlab(27.79, 36.17, -50.72)
CIE-LCHlch(27.79, 62.30, 305.50°)
OKLaboklab(39.31% 0.0473 -0.1455)
OKLCHoklch(39.31% 0.153 288)
XYZxyz(8.6516, 5.3791, 27.3650)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F91 #7A912F
analogous
#2F4991 #462F91 #772F91
triadic
#462F91 #91462F #2F9146
tetradic
#462F91 #912F49 #7A912F #2F9177
square
#462F91 #912F49 #7A912F #2F9177
split-complementary
#462F91 #91772F #49912F
monochromatic
#191135 #302063 #462F91 #5C3EBF #836BCF

Accessibility & contrast

On white

10.12
#462F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#462F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F91
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F91#FFFFFF#000000##FFFFFF
##462F911.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#2B475C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462f91;
/* rgb */ color: rgb(70, 47, 145);
/* oklch */ color: oklch(39.3% 0.153 288.0);
Tailwind
colors: {
  custom: {
    50: '#8169b2',
    500: '#462f91',
    950: '#000000',
  },
}
SCSS
$custom: #462f91;
$custom-light: #8169b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462f91",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 254.082,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.15298,
    "h": 288
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#462F91
secondary
#A3B665
accent
#DB4DB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462F91

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

Preview Lab → · Contrast checker → · Palette generator →

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