#462597#462597

#462597 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.172 H 288.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#462597
RGBrgb(70, 37, 151)
HSLhsl(257, 61%, 37%)
HSVhsv(257, 75%, 59%)
CMYKcmyk(53.6%, 75.5%, 0%, 40.8%)
CIE-LABlab(26.33, 43.50, -56.79)
CIE-LCHlch(26.33, 71.54, 307.45°)
OKLaboklab(38.43% 0.0555 -0.1633)
OKLCHoklch(38.43% 0.172 288.8)
XYZxyz(8.7716, 4.8592, 29.7479)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462597 #769725
analogous
#253D97 #462597 #7F2597
triadic
#462597 #974625 #259746
tetradic
#462597 #97253D #769725 #25977F
square
#462597 #97253D #769725 #25977F
split-complementary
#462597 #977F25 #3D9725
monochromatic
#180D35 #2F1966 #462597 #5D31C8 #825FD8

Accessibility & contrast

On white

10.65
#462597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#462597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462597
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462597#FFFFFF#000000##FFFFFF
##4625971.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462597;
/* rgb */ color: rgb(70, 37, 151);
/* oklch */ color: oklch(38.4% 0.172 288.8);
Tailwind
colors: {
  custom: {
    50: '#8263b7',
    500: '#462597',
    950: '#000000',
  },
}
SCSS
$custom: #462597;
$custom-light: #8263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462597",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 257.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.17243,
    "h": 288.8
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#462597
secondary
#A0BD5B
accent
#E444B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462597

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

Preview Lab → · Contrast checker → · Palette generator →

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