#412986#412986

#412986 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.147 H 289.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#412986
RGBrgb(65, 41, 134)
HSLhsl(255, 53%, 34%)
HSVhsv(255, 69%, 53%)
CMYKcmyk(51.5%, 69.4%, 0%, 47.5%)
CIE-LABlab(25.05, 35.36, -48.38)
CIE-LCHlch(25.05, 59.93, 306.17°)
OKLaboklab(36.92% 0.0478 -0.1388)
OKLCHoklch(36.92% 0.147 289)
XYZxyz(7.2747, 4.4306, 23.0215)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412986 #6E8629
analogous
#294086 #412986 #702986
triadic
#412986 #864129 #298641
tetradic
#412986 #862940 #6E8629 #298670
square
#412986 #862940 #6E8629 #298670
split-complementary
#412986 #867029 #408629
monochromatic
#140C28 #2A1B57 #412986 #5837B5 #795CCD

Accessibility & contrast

On white

11.13
#412986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412986
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412986#FFFFFF#000000##FFFFFF
##4129861.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#294054
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412986;
/* rgb */ color: rgb(65, 41, 134);
/* oklch */ color: oklch(36.9% 0.147 289.0);
Tailwind
colors: {
  custom: {
    50: '#7d64aa',
    500: '#412986',
    950: '#000000',
  },
}
SCSS
$custom: #412986;
$custom-light: #7d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412986",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 255.484,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.14675,
    "h": 289
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#412986
secondary
#9BB358
accent
#DD4BB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412986

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

Preview Lab → · Contrast checker → · Palette generator →

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