#462397#462397

#462397 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.175 H 289.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#462397
RGBrgb(70, 35, 151)
HSLhsl(258, 62%, 36%)
HSVhsv(258, 77%, 59%)
CMYKcmyk(53.6%, 76.8%, 0%, 40.8%)
CIE-LABlab(25.98, 44.50, -57.38)
CIE-LCHlch(25.98, 72.61, 307.80°)
OKLaboklab(38.18% 0.0571 -0.165)
OKLCHoklch(38.18% 0.175 289.1)
XYZxyz(8.7111, 4.7381, 29.7277)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462397 #749723
analogous
#233A97 #462397 #802397
triadic
#462397 #974623 #239746
tetradic
#462397 #97233A #749723 #239780
square
#462397 #97233A #749723 #239780
split-complementary
#462397 #978023 #3A9723
monochromatic
#180C34 #2F1765 #462397 #5D2FC9 #815BD9

Accessibility & contrast

On white

10.78
#462397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462397
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462397#FFFFFF#000000##FFFFFF
##4623971.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462397;
/* rgb */ color: rgb(70, 35, 151);
/* oklch */ color: oklch(38.2% 0.175 289.1);
Tailwind
colors: {
  custom: {
    50: '#8362b7',
    500: '#462397',
    950: '#000000',
  },
}
SCSS
$custom: #462397;
$custom-light: #8362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462397",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 258.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.17456,
    "h": 289.1
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#462397
secondary
#9FBE58
accent
#E542B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #462397

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

Preview Lab → · Contrast checker → · Palette generator →

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