#462399#462399

#462399 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.177 H 288.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#462399
RGBrgb(70, 35, 153)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 60%)
CMYKcmyk(54.2%, 77.1%, 0%, 40%)
CIE-LABlab(26.17, 45.08, -58.29)
CIE-LCHlch(26.17, 73.68, 307.72°)
OKLaboklab(38.38% 0.0566 -0.1676)
OKLCHoklch(38.38% 0.177 288.6)
XYZxyz(8.8749, 4.8036, 30.5904)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462399 #769923
analogous
#233B99 #462399 #812399
triadic
#462399 #994623 #239946
tetradic
#462399 #99233B #769923 #239981
square
#462399 #99233B #769923 #239981
split-complementary
#462399 #998123 #3B9923
monochromatic
#180C35 #2F1867 #462399 #5D2ECB #825DDA

Accessibility & contrast

On white

10.71
#462399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#462399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462399
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462399#FFFFFF#000000##FFFFFF
##4623991.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#25445D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462399;
/* rgb */ color: rgb(70, 35, 153);
/* oklch */ color: oklch(38.4% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#8362b8',
    500: '#462399',
    950: '#000000',
  },
}
SCSS
$custom: #462399;
$custom-light: #8362b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462399",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 257.797,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.1769,
    "h": 288.6
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#462399
secondary
#A0BE59
accent
#E642B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #462399

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

Preview Lab → · Contrast checker → · Palette generator →

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