#462579#462579

#462579 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.136 H 297.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#462579
RGBrgb(70, 37, 121)
HSLhsl(264, 53%, 31%)
HSVhsv(264, 69%, 47%)
CMYKcmyk(42.1%, 69.4%, 0%, 52.5%)
CIE-LABlab(23.69, 34.83, -42.36)
CIE-LCHlch(23.69, 54.84, 309.43°)
OKLaboklab(35.74% 0.0616 -0.1209)
OKLCHoklch(35.74% 0.136 297)
XYZxyz(6.6377, 4.0056, 18.5089)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462579 #587925
analogous
#252E79 #462579 #702579
triadic
#462579 #794625 #257946
tetradic
#462579 #79252E #587925 #257970
square
#462579 #79252E #587925 #257970
split-complementary
#462579 #797025 #2E7925
monochromatic
#10081B #2B174A #462579 #6133A8 #7F4FC9

Accessibility & contrast

On white

11.66
#462579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#462579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462579
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462579#FFFFFF#000000##FFFFFF
##4625791.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#39394B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462579;
/* rgb */ color: rgb(70, 37, 121);
/* oklch */ color: oklch(35.7% 0.136 297.0);
Tailwind
colors: {
  custom: {
    50: '#7e62a0',
    500: '#462579',
    950: '#000000',
  },
}
SCSS
$custom: #462579;
$custom-light: #7e62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462579",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 263.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.13568,
    "h": 297
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#462579
secondary
#87AB4E
accent
#DD4BA3
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462579

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

Preview Lab → · Contrast checker → · Palette generator →

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