#412186#412186

#412186 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.157 H 290.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#412186
RGBrgb(65, 33, 134)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 53%)
CMYKcmyk(51.5%, 75.4%, 0%, 47.5%)
CIE-LABlab(23.45, 39.81, -50.99)
CIE-LCHlch(23.45, 64.69, 307.98°)
OKLaboklab(35.78% 0.0555 -0.1464)
OKLCHoklch(35.78% 0.157 290.8)
XYZxyz(7.0257, 3.9325, 22.9385)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412186 #668621
analogous
#213386 #412186 #732186
triadic
#412186 #864121 #218641
tetradic
#412186 #862133 #668621 #218673
square
#412186 #862133 #668621 #218673
split-complementary
#412186 #867321 #338621
monochromatic
#110924 #291555 #412186 #592DB7 #784ED3

Accessibility & contrast

On white

11.75
#412186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412186
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412186#FFFFFF#000000##FFFFFF
##4121861.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#293C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412186;
/* rgb */ color: rgb(65, 33, 134);
/* oklch */ color: oklch(35.8% 0.157 290.8);
Tailwind
colors: {
  custom: {
    50: '#7d60aa',
    500: '#412186',
    950: '#000000',
  },
}
SCSS
$custom: #412186;
$custom-light: #7d60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412186",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 259.01,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.15656,
    "h": 290.8
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#412186
secondary
#95B74C
accent
#E444B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412186

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

Preview Lab → · Contrast checker → · Palette generator →

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