#462494#462494

#462494 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.170 H 289.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#462494
RGBrgb(70, 36, 148)
HSLhsl(258, 61%, 36%)
HSVhsv(258, 76%, 58%)
CMYKcmyk(52.7%, 75.7%, 0%, 42%)
CIE-LABlab(25.87, 43.14, -55.71)
CIE-LCHlch(25.87, 70.46, 307.75°)
OKLaboklab(38.02% 0.0571 -0.1601)
OKLCHoklch(38.02% 0.17 289.6)
XYZxyz(8.5004, 4.7016, 28.4708)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462494 #729424
analogous
#243A94 #462494 #7E2494
triadic
#462494 #944624 #249446
tetradic
#462494 #94243A #729424 #24947E
square
#462494 #94243A #729424 #24947E
split-complementary
#462494 #947E24 #3A9424
monochromatic
#170C32 #2F1863 #462494 #5D30C5 #815BD7

Accessibility & contrast

On white

10.82
#462494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462494
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462494#FFFFFF#000000##FFFFFF
##4624941.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#29435A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462494;
/* rgb */ color: rgb(70, 36, 148);
/* oklch */ color: oklch(38.0% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#8262b4',
    500: '#462494',
    950: '#000000',
  },
}
SCSS
$custom: #462494;
$custom-light: #8262b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462494",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 258.214,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.16994,
    "h": 289.6
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#462494
secondary
#9EBC58
accent
#E444B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462494

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

Preview Lab → · Contrast checker → · Palette generator →

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