#462591#462591

#462591 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.165 H 290.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#462591
RGBrgb(70, 37, 145)
HSLhsl(258, 59%, 36%)
HSVhsv(258, 74%, 57%)
CMYKcmyk(51.7%, 74.5%, 0%, 43.1%)
CIE-LABlab(25.77, 41.75, -54.01)
CIE-LCHlch(25.77, 68.27, 307.70°)
OKLaboklab(37.87% 0.057 -0.1551)
OKLCHoklch(37.87% 0.165 290.2)
XYZxyz(8.2967, 4.6692, 27.2467)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462591 #709125
analogous
#253A91 #462591 #7C2591
triadic
#462591 #914625 #259146
tetradic
#462591 #91253A #709125 #25917C
square
#462591 #91253A #709125 #25917C
split-complementary
#462591 #917C25 #3A9125
monochromatic
#170C2F #2E1960 #462591 #5E31C2 #805BD5

Accessibility & contrast

On white

10.86
#462591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462591
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462591#FFFFFF#000000##FFFFFF
##4625911.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#2C4259
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462591;
/* rgb */ color: rgb(70, 37, 145);
/* oklch */ color: oklch(37.9% 0.165 290.2);
Tailwind
colors: {
  custom: {
    50: '#8163b2',
    500: '#462591',
    950: '#000000',
  },
}
SCSS
$custom: #462591;
$custom-light: #8163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462591",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 258.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.16524,
    "h": 290.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#462591
secondary
#9CBA58
accent
#E345B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462591

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

Preview Lab → · Contrast checker → · Palette generator →

#462591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva