#413184#413184

#413184 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.133 H 287.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#413184
RGBrgb(65, 49, 132)
HSLhsl(252, 46%, 35%)
HSVhsv(252, 63%, 52%)
CMYKcmyk(50.8%, 62.9%, 0%, 48.2%)
CIE-LABlab(26.69, 29.87, -44.45)
CIE-LCHlch(26.69, 53.55, 303.91°)
OKLaboklab(38.06% 0.0393 -0.1272)
OKLCHoklch(38.06% 0.133 287.2)
XYZxyz(7.4419, 4.9860, 22.3956)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413184 #748431
analogous
#314B84 #413184 #6A3184
triadic
#413184 #844131 #318441
tetradic
#413184 #84314B #748431 #31846A
square
#413184 #84314B #748431 #31846A
split-complementary
#413184 #846A31 #4B8431
monochromatic
#15102B #2B2057 #413184 #5742B1 #7B68C7

Accessibility & contrast

On white

10.51
#413184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#413184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413184
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413184#FFFFFF#000000##FFFFFF
##4131841.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#2A4455
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413184;
/* rgb */ color: rgb(65, 49, 132);
/* oklch */ color: oklch(38.1% 0.133 287.2);
Tailwind
colors: {
  custom: {
    50: '#7c6aa8',
    500: '#413184',
    950: '#000000',
  },
}
SCSS
$custom: #413184;
$custom-light: #7c6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#413184",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 251.566,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.13312,
    "h": 287.2
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#413184
secondary
#A0AE62
accent
#D652BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413184

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

Preview Lab → · Contrast checker → · Palette generator →

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