#413286#413286

#413286 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.134 H 286.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#413286
RGBrgb(65, 50, 134)
HSLhsl(251, 46%, 36%)
HSVhsv(251, 63%, 53%)
CMYKcmyk(51.5%, 62.7%, 0%, 47.5%)
CIE-LABlab(27.09, 29.88, -45.05)
CIE-LCHlch(27.09, 54.06, 303.56°)
OKLaboklab(38.4% 0.038 -0.129)
OKLCHoklch(38.4% 0.134 286.4)
XYZxyz(7.6224, 5.1259, 23.1374)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413286 #778632
analogous
#324D86 #413286 #6B3286
triadic
#413286 #864132 #328641
tetradic
#413286 #86324D #778632 #32866B
square
#413286 #86324D #778632 #32866B
split-complementary
#413286 #866B32 #4D8632
monochromatic
#16112D #2B2159 #413286 #5743B3 #7B6BC8

Accessibility & contrast

On white

10.37
#413286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#413286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413286
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413286#FFFFFF#000000##FFFFFF
##4132861.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #413286;
/* rgb */ color: rgb(65, 50, 134);
/* oklch */ color: oklch(38.4% 0.134 286.4);
Tailwind
colors: {
  custom: {
    50: '#7c6aaa',
    500: '#413286',
    950: '#000000',
  },
}
SCSS
$custom: #413286;
$custom-light: #7c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#413286",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 250.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.13447,
    "h": 286.4
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#413286
secondary
#A2AF64
accent
#D552BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413286

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

Preview Lab → · Contrast checker → · Palette generator →

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