#413186#413186

#413186 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.136 H 286.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#413186
RGBrgb(65, 49, 134)
HSLhsl(251, 46%, 36%)
HSVhsv(251, 63%, 53%)
CMYKcmyk(51.5%, 63.4%, 0%, 47.5%)
CIE-LABlab(26.85, 30.51, -45.44)
CIE-LCHlch(26.85, 54.73, 303.88°)
OKLaboklab(38.23% 0.0391 -0.1301)
OKLCHoklch(38.23% 0.136 286.7)
XYZxyz(7.5801, 5.0413, 23.1233)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413186 #768631
analogous
#314B86 #413186 #6B3186
triadic
#413186 #864131 #318641
tetradic
#413186 #86314B #768631 #31866B
square
#413186 #86314B #768631 #31866B
split-complementary
#413186 #866B31 #4B8631
monochromatic
#16102C #2B2159 #413186 #5741B3 #7B69C8

Accessibility & contrast

On white

10.46
#413186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#413186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413186
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413186#FFFFFF#000000##FFFFFF
##4131861.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#284556
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413186;
/* rgb */ color: rgb(65, 49, 134);
/* oklch */ color: oklch(38.2% 0.136 286.7);
Tailwind
colors: {
  custom: {
    50: '#7c6aaa',
    500: '#413186',
    950: '#000000',
  },
}
SCSS
$custom: #413186;
$custom-light: #7c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#413186",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 251.294,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.13589,
    "h": 286.7
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#413186
secondary
#A1B063
accent
#D652BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413186

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

Preview Lab → · Contrast checker → · Palette generator →

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