#413386#413386

#413386 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.6% C 0.133 H 286.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#413386
RGBrgb(65, 51, 134)
HSLhsl(250, 45%, 36%)
HSVhsv(250, 62%, 53%)
CMYKcmyk(51.5%, 61.9%, 0%, 47.5%)
CIE-LABlab(27.33, 29.25, -44.66)
CIE-LCHlch(27.33, 53.39, 303.22°)
OKLaboklab(38.58% 0.0369 -0.1278)
OKLCHoklch(38.58% 0.133 286.1)
XYZxyz(7.6656, 5.2123, 23.1518)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413386 #788633
analogous
#334F86 #413386 #6B3386
triadic
#413386 #864133 #338641
tetradic
#413386 #86334F #788633 #33866B
square
#413386 #86334F #788633 #33866B
split-complementary
#413386 #866B33 #4F8633
monochromatic
#16112D #2B225A #413386 #5744B2 #7C6CC7

Accessibility & contrast

On white

10.28
#413386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#413386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413386
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413386#FFFFFF#000000##FFFFFF
##4133861.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#284657
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413386;
/* rgb */ color: rgb(65, 51, 134);
/* oklch */ color: oklch(38.6% 0.133 286.1);
Tailwind
colors: {
  custom: {
    50: '#7c6baa',
    500: '#413386',
    950: '#000000',
  },
}
SCSS
$custom: #413386;
$custom-light: #7c6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#413386",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 250.12,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.13304,
    "h": 286.1
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#413386
secondary
#A3AF66
accent
#D553BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413386

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

Preview Lab → · Contrast checker → · Palette generator →

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