#462387#462387

#462387 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.156 H 293.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#462387
RGBrgb(70, 35, 135)
HSLhsl(261, 59%, 33%)
HSVhsv(261, 74%, 53%)
CMYKcmyk(48.1%, 74.1%, 0%, 47.1%)
CIE-LABlab(24.49, 39.92, -49.89)
CIE-LCHlch(24.49, 63.89, 308.66°)
OKLaboklab(36.68% 0.0612 -0.143)
OKLCHoklch(36.68% 0.156 293.2)
XYZxyz(7.4988, 4.2532, 23.3428)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462387 #648723
analogous
#233287 #462387 #782387
triadic
#462387 #874623 #238746
tetradic
#462387 #872332 #648723 #238778
square
#462387 #872332 #648723 #238778
split-complementary
#462387 #877823 #328723
monochromatic
#140A26 #2D1656 #462387 #5F30B8 #7F52D2

Accessibility & contrast

On white

11.35
#462387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#462387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462387
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462387#FFFFFF#000000##FFFFFF
##4623871.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#323D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462387;
/* rgb */ color: rgb(70, 35, 135);
/* oklch */ color: oklch(36.7% 0.156 293.2);
Tailwind
colors: {
  custom: {
    50: '#8061ab',
    500: '#462387',
    950: '#000000',
  },
}
SCSS
$custom: #462387;
$custom-light: #8061ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462387",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 261,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.15552,
    "h": 293.2
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#462387
secondary
#92B650
accent
#E246AB
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462387

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

Preview Lab → · Contrast checker → · Palette generator →

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