#413771#413771

#413771 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.8% C 0.096 H 288.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#413771
RGBrgb(65, 55, 113)
HSLhsl(250, 35%, 33%)
HSVhsv(250, 51%, 44%)
CMYKcmyk(42.5%, 51.3%, 0%, 55.7%)
CIE-LABlab(26.87, 19.95, -32.17)
CIE-LCHlch(26.87, 37.85, 301.80°)
OKLaboklab(37.76% 0.0311 -0.0911)
OKLCHoklch(37.76% 0.096 288.9)
XYZxyz(6.5260, 5.0482, 16.2501)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413771 #677137
analogous
#374A71 #413771 #5E3771
triadic
#413771 #714137 #377141
tetradic
#413771 #71374A #677137 #37715E
square
#413771 #71374A #677137 #37715E
split-complementary
#413771 #715E37 #4A7137
monochromatic
#120F1F #292348 #413771 #594B9A #786BB7

Accessibility & contrast

On white

10.45
#413771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#413771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413771
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413771#FFFFFF#000000##FFFFFF
##4137711.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#203E70
Tritanopia (blue-blind)
#34434E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413771;
/* rgb */ color: rgb(65, 55, 113);
/* oklch */ color: oklch(37.8% 0.096 288.9);
Tailwind
colors: {
  custom: {
    50: '#796e9a',
    500: '#413771',
    950: '#000000',
  },
}
SCSS
$custom: #413771;
$custom-light: #796e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#413771",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 250.345,
    "s": 34.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.09627,
    "h": 288.9
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#413771
secondary
#96A064
accent
#CB5DB8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #413771

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

Preview Lab → · Contrast checker → · Palette generator →

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