#413476#413476

#413476 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.5% C 0.109 H 289.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#413476
RGBrgb(65, 52, 118)
HSLhsl(252, 39%, 33%)
HSVhsv(252, 56%, 46%)
CMYKcmyk(44.9%, 55.9%, 0%, 53.7%)
CIE-LABlab(26.41, 23.50, -36.09)
CIE-LCHlch(26.41, 43.06, 303.07°)
OKLaboklab(37.53% 0.0356 -0.1026)
OKLCHoklch(37.53% 0.109 289.2)
XYZxyz(6.6771, 4.8876, 17.7276)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413476 #697634
analogous
#344876 #413476 #623476
triadic
#413476 #764134 #347641
tetradic
#413476 #763448 #697634 #347662
square
#413476 #763448 #697634 #347662
split-complementary
#413476 #766234 #487634
monochromatic
#120F21 #2A214C #413476 #5847A0 #7968BC

Accessibility & contrast

On white

10.62
#413476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413476
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413476#FFFFFF#000000##FFFFFF
##4134761.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#153D75
Tritanopia (blue-blind)
#32424F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413476;
/* rgb */ color: rgb(65, 52, 118);
/* oklch */ color: oklch(37.5% 0.109 289.2);
Tailwind
colors: {
  custom: {
    50: '#796c9e',
    500: '#413476',
    950: '#000000',
  },
}
SCSS
$custom: #413476;
$custom-light: #796c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#413476",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 251.818,
    "s": 38.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.10861,
    "h": 289.2
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#413476
secondary
#97A561
accent
#CF59B8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #413476

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

Preview Lab → · Contrast checker → · Palette generator →

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