#413C52#413C52

#413C52 is a dark, muted violet. Relative luminance 0.050; OKLCH L 37.0% C 0.038 H 294.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#413C52
RGBrgb(65, 60, 82)
HSLhsl(254, 15%, 28%)
HSVhsv(254, 27%, 32%)
CMYKcmyk(20.7%, 26.8%, 0%, 67.8%)
CIE-LABlab(26.63, 7.48, -12.50)
CIE-LCHlch(26.63, 14.57, 300.88°)
OKLaboklab(37.04% 0.0159 -0.0343)
OKLCHoklch(37.04% 0.038 294.9)
XYZxyz(5.3185, 4.9647, 8.6591)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C52 #4D523C
analogous
#3C4252 #413C52 #4C3C52
triadic
#413C52 #52413C #3C5241
tetradic
#413C52 #523C42 #4D523C #3C524C
square
#413C52 #523C42 #4D523C #3C524C
split-complementary
#413C52 #524C3C #42523C
monochromatic
#0E0D12 #25222F #413C52 #5D5675 #7A7197

Accessibility & contrast

On white

10.54
#413C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#413C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C52
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C52#FFFFFF#000000##FFFFFF
##413C521.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#383F51
Tritanopia (blue-blind)
#3E3F44
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413c52;
/* rgb */ color: rgb(65, 60, 82);
/* oklch */ color: oklch(37.0% 0.038 294.9);
Tailwind
colors: {
  custom: {
    50: '#767182',
    500: '#413c52',
    950: '#000000',
  },
}
SCSS
$custom: #413c52;
$custom-light: #767182;
$custom-dark: #000000;
JSON
{
  "hex": "#413c52",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 82
  },
  "hsl": {
    "h": 253.636,
    "s": 15.493,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.03777,
    "h": 294.9
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#413C52
secondary
#7C8268
accent
#B870A8
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #413C52

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

Preview Lab → · Contrast checker → · Palette generator →

#413C52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva