#412584#412584

#412584 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.149 H 290.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#412584
RGBrgb(65, 37, 132)
HSLhsl(258, 56%, 33%)
HSVhsv(258, 72%, 52%)
CMYKcmyk(50.8%, 72%, 0%, 48.2%)
CIE-LABlab(24.04, 37.05, -48.77)
CIE-LCHlch(24.04, 61.24, 307.22°)
OKLaboklab(36.14% 0.0521 -0.1399)
OKLCHoklch(36.14% 0.149 290.4)
XYZxyz(7.0052, 4.1126, 22.2500)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412584 #688425
analogous
#253884 #412584 #702584
triadic
#412584 #844125 #258441
tetradic
#412584 #842538 #688425 #258470
square
#412584 #842538 #688425 #258470
split-complementary
#412584 #847025 #388425
monochromatic
#120A24 #291854 #412584 #5932B4 #7854CF

Accessibility & contrast

On white

11.52
#412584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412584
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412584#FFFFFF#000000##FFFFFF
##4125841.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#2B3D51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412584;
/* rgb */ color: rgb(65, 37, 132);
/* oklch */ color: oklch(36.1% 0.149 290.4);
Tailwind
colors: {
  custom: {
    50: '#7d62a9',
    500: '#412584',
    950: '#000000',
  },
}
SCSS
$custom: #412584;
$custom-light: #7d62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412584",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 257.684,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.14929,
    "h": 290.4
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#412584
secondary
#97B351
accent
#E048B3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412584

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

Preview Lab → · Contrast checker → · Palette generator →

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