#413252#413252

#413252 is a dark, muted violet. Relative luminance 0.040; OKLCH L 34.8% C 0.057 H 305.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#413252
RGBrgb(65, 50, 82)
HSLhsl(268, 24%, 26%)
HSVhsv(268, 39%, 32%)
CMYKcmyk(20.7%, 39%, 0%, 67.8%)
CIE-LABlab(23.72, 14.17, -17.00)
CIE-LCHlch(23.72, 22.13, 309.81°)
OKLaboklab(34.8% 0.0331 -0.047)
OKLCHoklch(34.8% 0.057 305.1)
XYZxyz(4.8433, 4.0142, 8.5007)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413252 #435232
analogous
#323352 #413252 #513252
triadic
#413252 #524132 #325241
tetradic
#413252 #523233 #435232 #325251
square
#413252 #523233 #435232 #325251
split-complementary
#413252 #525132 #335232
monochromatic
#0F0C13 #231B2C #413252 #5F4978 #7D609E

Accessibility & contrast

On white

11.65
#413252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#413252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413252
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413252#FFFFFF#000000##FFFFFF
##4132521.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#2E3951
Tritanopia (blue-blind)
#3E373E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #413252;
/* rgb */ color: rgb(65, 50, 82);
/* oklch */ color: oklch(34.8% 0.057 305.1);
Tailwind
colors: {
  custom: {
    50: '#766a82',
    500: '#413252',
    950: '#000000',
  },
}
SCSS
$custom: #413252;
$custom-light: #766a82;
$custom-dark: #000000;
JSON
{
  "hex": "#413252",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 268.125,
    "s": 24.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34802,
    "c": 0.05747,
    "h": 305.1
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#413252
secondary
#71835D
accent
#C16797
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #413252

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

Preview Lab → · Contrast checker → · Palette generator →

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