#462487#462487

#462487 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.154 H 293.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#462487
RGBrgb(70, 36, 135)
HSLhsl(261, 58%, 34%)
HSVhsv(261, 73%, 53%)
CMYKcmyk(48.1%, 73.3%, 0%, 47.1%)
CIE-LABlab(24.68, 39.39, -49.58)
CIE-LCHlch(24.68, 63.32, 308.46°)
OKLaboklab(36.81% 0.0602 -0.1421)
OKLCHoklch(36.81% 0.154 293)
XYZxyz(7.5286, 4.3129, 23.3528)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462487 #658724
analogous
#243387 #462487 #772487
triadic
#462487 #874624 #248746
tetradic
#462487 #872433 #658724 #248777
square
#462487 #872433 #658724 #248777
split-complementary
#462487 #877724 #338724
monochromatic
#140A26 #2D1757 #462487 #5F31B7 #7F54D1

Accessibility & contrast

On white

11.27
#462487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#462487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462487
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462487#FFFFFF#000000##FFFFFF
##4624871.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#323D53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462487;
/* rgb */ color: rgb(70, 36, 135);
/* oklch */ color: oklch(36.8% 0.154 293.0);
Tailwind
colors: {
  custom: {
    50: '#8062ab',
    500: '#462487',
    950: '#000000',
  },
}
SCSS
$custom: #462487;
$custom-light: #8062ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462487",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 260.606,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.15431,
    "h": 293
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#462487
secondary
#93B551
accent
#E147AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462487

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

Preview Lab → · Contrast checker → · Palette generator →

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