#462E90#462E90

#462E90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.153 H 288.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#462E90
RGBrgb(70, 46, 144)
HSLhsl(255, 52%, 37%)
HSVhsv(255, 68%, 56%)
CMYKcmyk(51.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(27.49, 36.45, -50.59)
CIE-LCHlch(27.49, 62.36, 305.78°)
OKLaboklab(39.06% 0.0485 -0.1451)
OKLCHoklch(39.06% 0.153 288.5)
XYZxyz(8.5354, 5.2693, 26.9475)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E90 #78902E
analogous
#2E4790 #462E90 #772E90
triadic
#462E90 #90462E #2E9046
tetradic
#462E90 #902E47 #78902E #2E9077
square
#462E90 #902E47 #78902E #2E9077
split-complementary
#462E90 #90772E #47902E
monochromatic
#191033 #2F1F62 #462E90 #5D3DBE #8269CF

Accessibility & contrast

On white

10.22
#462E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#462E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E90
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E90#FFFFFF#000000##FFFFFF
##462E901.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#2C465B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462e90;
/* rgb */ color: rgb(70, 46, 144);
/* oklch */ color: oklch(39.1% 0.153 288.5);
Tailwind
colors: {
  custom: {
    50: '#8168b1',
    500: '#462e90',
    950: '#000000',
  },
}
SCSS
$custom: #462e90;
$custom-light: #8168b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462e90",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 254.694,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.15298,
    "h": 288.5
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#462E90
secondary
#A2B664
accent
#DB4DB8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462E90

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

Preview Lab → · Contrast checker → · Palette generator →

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