#412487#412487

#412487 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.154 H 289.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#412487
RGBrgb(65, 36, 135)
HSLhsl(258, 58%, 34%)
HSVhsv(258, 73%, 53%)
CMYKcmyk(51.9%, 73.3%, 0%, 47.1%)
CIE-LABlab(24.11, 38.50, -50.53)
CIE-LCHlch(24.11, 63.53, 307.30°)
OKLaboklab(36.28% 0.0525 -0.1451)
OKLCHoklch(36.28% 0.154 289.9)
XYZxyz(7.1828, 4.1345, 23.3366)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412487 #6A8724
analogous
#243887 #412487 #722487
triadic
#412487 #874124 #248741
tetradic
#412487 #872438 #6A8724 #248772
square
#412487 #872438 #6A8724 #248772
split-complementary
#412487 #877224 #388724
monochromatic
#120A26 #2A1757 #412487 #5831B7 #7954D1

Accessibility & contrast

On white

11.49
#412487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412487
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412487#FFFFFF#000000##FFFFFF
##4124871.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#293E53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412487;
/* rgb */ color: rgb(65, 36, 135);
/* oklch */ color: oklch(36.3% 0.154 289.9);
Tailwind
colors: {
  custom: {
    50: '#7d61ab',
    500: '#412487',
    950: '#000000',
  },
}
SCSS
$custom: #412487;
$custom-light: #7d61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412487",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 257.576,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.15427,
    "h": 289.9
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#412487
secondary
#98B551
accent
#E147B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412487

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

Preview Lab → · Contrast checker → · Palette generator →

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