#462598#462598

#462598 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.174 H 288.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#462598
RGBrgb(70, 37, 152)
HSLhsl(257, 61%, 37%)
HSVhsv(257, 76%, 60%)
CMYKcmyk(53.9%, 75.7%, 0%, 40.4%)
CIE-LABlab(26.42, 43.79, -57.25)
CIE-LCHlch(26.42, 72.08, 307.41°)
OKLaboklab(38.53% 0.0552 -0.1646)
OKLCHoklch(38.53% 0.174 288.5)
XYZxyz(8.8532, 4.8918, 30.1774)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462598 #779825
analogous
#253E98 #462598 #802598
triadic
#462598 #984625 #259846
tetradic
#462598 #98253E #779825 #259880
square
#462598 #98253E #779825 #259880
split-complementary
#462598 #988025 #3E9825
monochromatic
#190D36 #2F1967 #462598 #5D31C9 #825FD8

Accessibility & contrast

On white

10.61
#462598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#462598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462598
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462598#FFFFFF#000000##FFFFFF
##4625981.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#26455D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462598;
/* rgb */ color: rgb(70, 37, 152);
/* oklch */ color: oklch(38.5% 0.174 288.5);
Tailwind
colors: {
  custom: {
    50: '#8363b7',
    500: '#462598',
    950: '#000000',
  },
}
SCSS
$custom: #462598;
$custom-light: #8363b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462598",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 257.217,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.17362,
    "h": 288.5
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#462598
secondary
#A1BD5C
accent
#E444B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #462598

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

Preview Lab → · Contrast checker → · Palette generator →

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