#462398#462398

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

Color values

HEX#462398
RGBrgb(70, 35, 152)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 60%)
CMYKcmyk(53.9%, 77%, 0%, 40.4%)
CIE-LABlab(26.07, 44.79, -57.83)
CIE-LCHlch(26.07, 73.15, 307.76°)
OKLaboklab(38.28% 0.0568 -0.1663)
OKLCHoklch(38.28% 0.176 288.9)
XYZxyz(8.7927, 4.7707, 30.1572)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462398 #759823
analogous
#233A98 #462398 #812398
triadic
#462398 #984623 #239846
tetradic
#462398 #98233A #759823 #239881
square
#462398 #98233A #759823 #239881
split-complementary
#462398 #988123 #3A9823
monochromatic
#180C35 #2F1866 #462398 #5D2ECA #815CD9

Accessibility & contrast

On white

10.75
#462398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462398
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462398#FFFFFF#000000##FFFFFF
##4623981.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#26445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462398;
/* rgb */ color: rgb(70, 35, 152);
/* oklch */ color: oklch(38.3% 0.176 288.9);
Tailwind
colors: {
  custom: {
    50: '#8362b7',
    500: '#462398',
    950: '#000000',
  },
}
SCSS
$custom: #462398;
$custom-light: #8362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462398",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 257.949,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.17573,
    "h": 288.9
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462398

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

Preview Lab → · Contrast checker → · Palette generator →

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