#413372#413372

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

Color values

HEX#413372
RGBrgb(65, 51, 114)
HSLhsl(253, 38%, 32%)
HSVhsv(253, 55%, 45%)
CMYKcmyk(43%, 55.3%, 0%, 55.3%)
CIE-LABlab(25.88, 22.90, -34.39)
CIE-LCHlch(25.88, 41.32, 303.65°)
OKLaboklab(37.04% 0.0368 -0.0976)
OKLCHoklch(37.04% 0.104 290.6)
XYZxyz(6.4002, 4.7062, 16.4875)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413372 #647233
analogous
#334572 #413372 #603372
triadic
#413372 #724133 #337241
tetradic
#413372 #723345 #647233 #337260
square
#413372 #723345 #647233 #337260
split-complementary
#413372 #726033 #457233
monochromatic
#110D1D #292048 #413372 #59469C #7865BA

Accessibility & contrast

On white

10.82
#413372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413372
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413372#FFFFFF#000000##FFFFFF
##4133721.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E74
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#34404D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413372;
/* rgb */ color: rgb(65, 51, 114);
/* oklch */ color: oklch(37.0% 0.104 290.6);
Tailwind
colors: {
  custom: {
    50: '#796b9b',
    500: '#413372',
    950: '#000000',
  },
}
SCSS
$custom: #413372;
$custom-light: #796b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#413372",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 253.333,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.10433,
    "h": 290.6
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#413372
secondary
#93A25F
accent
#CE5AB4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413372

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

Preview Lab → · Contrast checker → · Palette generator →

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