#462491#462491

#462491 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.166 H 290.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#462491
RGBrgb(70, 36, 145)
HSLhsl(259, 60%, 35%)
HSVhsv(259, 75%, 57%)
CMYKcmyk(51.7%, 75.2%, 0%, 43.1%)
CIE-LABlab(25.59, 42.27, -54.31)
CIE-LCHlch(25.59, 68.83, 307.89°)
OKLaboklab(37.74% 0.0578 -0.156)
OKLCHoklch(37.74% 0.166 290.3)
XYZxyz(8.2660, 4.6078, 27.2364)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462491 #6F9124
analogous
#243891 #462491 #7D2491
triadic
#462491 #914624 #249146
tetradic
#462491 #912438 #6F9124 #24917D
square
#462491 #912438 #6F9124 #24917D
split-complementary
#462491 #917D24 #389124
monochromatic
#170C2F #2E1860 #462491 #5E30C2 #8059D6

Accessibility & contrast

On white

10.93
#462491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462491
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462491#FFFFFF#000000##FFFFFF
##4624911.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462491;
/* rgb */ color: rgb(70, 36, 145);
/* oklch */ color: oklch(37.7% 0.166 290.3);
Tailwind
colors: {
  custom: {
    50: '#8262b2',
    500: '#462491',
    950: '#000000',
  },
}
SCSS
$custom: #462491;
$custom-light: #8262b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462491",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 258.716,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.16637,
    "h": 290.3
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#462491
secondary
#9BBA56
accent
#E344B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462491

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

Preview Lab → · Contrast checker → · Palette generator →

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