#413371#413371

#413371 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.0% C 0.103 H 290.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#413371
RGBrgb(65, 51, 113)
HSLhsl(254, 38%, 32%)
HSVhsv(254, 55%, 44%)
CMYKcmyk(42.5%, 54.9%, 0%, 55.7%)
CIE-LABlab(25.81, 22.59, -33.86)
CIE-LCHlch(25.81, 40.70, 303.70°)
OKLaboklab(36.97% 0.0367 -0.0961)
OKLCHoklch(36.97% 0.103 290.9)
XYZxyz(6.3436, 4.6835, 16.1894)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413371 #637133
analogous
#334471 #413371 #603371
triadic
#413371 #714133 #337141
tetradic
#413371 #713344 #637133 #337160
square
#413371 #713344 #637133 #337160
split-complementary
#413371 #716033 #447133
monochromatic
#100D1D #292047 #413371 #59469B #7865B9

Accessibility & contrast

On white

10.84
#413371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#413371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413371
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413371#FFFFFF#000000##FFFFFF
##4133711.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#1A3C70
Tritanopia (blue-blind)
#34404D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413371;
/* rgb */ color: rgb(65, 51, 113);
/* oklch */ color: oklch(37.0% 0.103 290.9);
Tailwind
colors: {
  custom: {
    50: '#796b9a',
    500: '#413371',
    950: '#000000',
  },
}
SCSS
$custom: #413371;
$custom-light: #796b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#413371",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 253.548,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.10285,
    "h": 290.9
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#413371
secondary
#92A25E
accent
#CE5AB4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413371

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

Preview Lab → · Contrast checker → · Palette generator →

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