#462497#462497

#462497 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.173 H 288.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#462497
RGBrgb(70, 36, 151)
HSLhsl(258, 61%, 37%)
HSVhsv(258, 76%, 59%)
CMYKcmyk(53.6%, 76.2%, 0%, 40.8%)
CIE-LABlab(26.15, 44.00, -57.09)
CIE-LCHlch(26.15, 72.08, 307.63°)
OKLaboklab(38.31% 0.0563 -0.1641)
OKLCHoklch(38.31% 0.174 288.9)
XYZxyz(8.7409, 4.7978, 29.7376)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462497 #759724
analogous
#243C97 #462497 #802497
triadic
#462497 #974624 #249746
tetradic
#462497 #97243C #759724 #249780
square
#462497 #97243C #759724 #249780
split-complementary
#462497 #978024 #3C9724
monochromatic
#180C34 #2F1866 #462497 #5D30C8 #815DD8

Accessibility & contrast

On white

10.72
#462497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462497
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462497#FFFFFF#000000##FFFFFF
##4624971.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#27445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462497;
/* rgb */ color: rgb(70, 36, 151);
/* oklch */ color: oklch(38.3% 0.173 288.9);
Tailwind
colors: {
  custom: {
    50: '#8263b7',
    500: '#462497',
    950: '#000000',
  },
}
SCSS
$custom: #462497;
$custom-light: #8263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462497",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 257.739,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38305,
    "c": 0.1735,
    "h": 288.9
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#462497
secondary
#A0BD5A
accent
#E543B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #462497

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

Preview Lab → · Contrast checker → · Palette generator →

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