#462A89#462A89

#462A89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.149 H 291.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#462A89
RGBrgb(70, 42, 137)
HSLhsl(258, 53%, 35%)
HSVhsv(258, 69%, 54%)
CMYKcmyk(48.9%, 69.3%, 0%, 46.3%)
CIE-LABlab(26.05, 36.65, -48.59)
CIE-LCHlch(26.05, 60.86, 307.03°)
OKLaboklab(37.85% 0.0537 -0.1392)
OKLCHoklch(37.85% 0.149 291.1)
XYZxyz(7.8678, 4.7639, 24.1670)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A89 #6D892A
analogous
#2A3E89 #462A89 #752A89
triadic
#462A89 #89462A #2A8946
tetradic
#462A89 #892A3E #6D892A #2A8975
square
#462A89 #892A3E #6D892A #2A8975
split-complementary
#462A89 #89752A #3E892A
monochromatic
#160D2B #2E1C5A #462A89 #5E38B8 #805FCE

Accessibility & contrast

On white

10.75
#462A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A89
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A89#FFFFFF#000000##FFFFFF
##462A891.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#314256
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462a89;
/* rgb */ color: rgb(70, 42, 137);
/* oklch */ color: oklch(37.8% 0.149 291.1);
Tailwind
colors: {
  custom: {
    50: '#8066ac',
    500: '#462a89',
    950: '#000000',
  },
}
SCSS
$custom: #462a89;
$custom-light: #8066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462a89",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 257.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.14921,
    "h": 291.1
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#462A89
secondary
#9AB45B
accent
#DC4BB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A89

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

Preview Lab → · Contrast checker → · Palette generator →

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