#413477#413477

#413477 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.6% C 0.110 H 288.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#413477
RGBrgb(65, 52, 119)
HSLhsl(252, 39%, 34%)
HSVhsv(252, 56%, 47%)
CMYKcmyk(45.4%, 56.3%, 0%, 53.3%)
CIE-LABlab(26.48, 23.81, -36.61)
CIE-LCHlch(26.48, 43.67, 303.04°)
OKLaboklab(37.6% 0.0357 -0.1041)
OKLCHoklch(37.6% 0.11 288.9)
XYZxyz(6.7368, 4.9115, 18.0422)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413477 #6A7734
analogous
#344877 #413477 #623477
triadic
#413477 #774134 #347741
tetradic
#413477 #773448 #6A7734 #347762
square
#413477 #773448 #6A7734 #347762
split-complementary
#413477 #776234 #487734
monochromatic
#120F22 #2A214C #413477 #5847A2 #7968BD

Accessibility & contrast

On white

10.59
#413477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413477
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413477#FFFFFF#000000##FFFFFF
##4134771.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#143D76
Tritanopia (blue-blind)
#314250
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413477;
/* rgb */ color: rgb(65, 52, 119);
/* oklch */ color: oklch(37.6% 0.110 288.9);
Tailwind
colors: {
  custom: {
    50: '#796c9f',
    500: '#413477',
    950: '#000000',
  },
}
SCSS
$custom: #413477;
$custom-light: #796c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#413477",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 251.642,
    "s": 39.181,
    "l": 33.529
  },
  "oklch": {
    "l": 0.376,
    "c": 0.11008,
    "h": 288.9
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413477

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

Preview Lab → · Contrast checker → · Palette generator →

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