#412486#412486

#412486 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.153 H 290.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#412486
RGBrgb(65, 36, 134)
HSLhsl(258, 58%, 33%)
HSVhsv(258, 73%, 53%)
CMYKcmyk(51.5%, 73.1%, 0%, 47.5%)
CIE-LABlab(24.02, 38.20, -50.05)
CIE-LCHlch(24.02, 62.97, 307.35°)
OKLaboklab(36.19% 0.0527 -0.1437)
OKLCHoklch(36.19% 0.153 290.1)
XYZxyz(7.1127, 4.1065, 22.9675)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412486 #698624
analogous
#243886 #412486 #722486
triadic
#412486 #864124 #248641
tetradic
#412486 #862438 #698624 #248672
square
#412486 #862438 #698624 #248672
split-complementary
#412486 #867224 #388624
monochromatic
#120A26 #2A1756 #412486 #5831B6 #7953D1

Accessibility & contrast

On white

11.53
#412486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412486
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412486#FFFFFF#000000##FFFFFF
##4124861.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#293E52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412486;
/* rgb */ color: rgb(65, 36, 134);
/* oklch */ color: oklch(36.2% 0.153 290.1);
Tailwind
colors: {
  custom: {
    50: '#7d61aa',
    500: '#412486',
    950: '#000000',
  },
}
SCSS
$custom: #412486;
$custom-light: #7d61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412486",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 257.755,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36185,
    "c": 0.15303,
    "h": 290.1
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#412486
secondary
#97B551
accent
#E147B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412486

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

Preview Lab → · Contrast checker → · Palette generator →

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