#413180#413180

#413180 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.7% C 0.128 H 288.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#413180
RGBrgb(65, 49, 128)
HSLhsl(252, 45%, 35%)
HSVhsv(252, 62%, 50%)
CMYKcmyk(49.2%, 61.7%, 0%, 49.8%)
CIE-LABlab(26.39, 28.60, -42.44)
CIE-LCHlch(26.39, 51.18, 303.98°)
OKLaboklab(37.74% 0.0395 -0.1213)
OKLCHoklch(37.74% 0.128 288)
XYZxyz(7.1734, 4.8787, 20.9816)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413180 #708031
analogous
#314980 #413180 #693180
triadic
#413180 #804131 #318041
tetradic
#413180 #803149 #708031 #318069
square
#413180 #803149 #708031 #318069
split-complementary
#413180 #806931 #498031
monochromatic
#140F27 #2B2054 #413180 #5742AC #7A67C5

Accessibility & contrast

On white

10.63
#413180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#413180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413180
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413180#FFFFFF#000000##FFFFFF
##4131801.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#2C4353
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413180;
/* rgb */ color: rgb(65, 49, 128);
/* oklch */ color: oklch(37.7% 0.128 288.0);
Tailwind
colors: {
  custom: {
    50: '#7b6aa5',
    500: '#413180',
    950: '#000000',
  },
}
SCSS
$custom: #413180;
$custom-light: #7b6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#413180",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 252.152,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.12756,
    "h": 288
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#413180
secondary
#9DAC61
accent
#D453BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413180

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

Preview Lab → · Contrast checker → · Palette generator →

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