#413151#413151

#413151 is a dark, muted violet. Relative luminance 0.039; OKLCH L 34.5% C 0.058 H 306.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#413151
RGBrgb(65, 49, 81)
HSLhsl(270, 25%, 25%)
HSVhsv(270, 40%, 32%)
CMYKcmyk(19.8%, 39.5%, 0%, 68.2%)
CIE-LABlab(23.39, 14.57, -16.85)
CIE-LCHlch(23.39, 22.28, 310.85°)
OKLaboklab(34.53% 0.0345 -0.0466)
OKLCHoklch(34.53% 0.058 306.5)
XYZxyz(4.7632, 3.9146, 8.2876)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413151 #415131
analogous
#313151 #413151 #513151
triadic
#413151 #514131 #315141
tetradic
#413151 #513131 #415131 #315151
square
#413151 #513131 #415131 #315151
split-complementary
#413151 #515131 #315131
monochromatic
#0F0C13 #221A2B #413151 #604877 #7E5F9D

Accessibility & contrast

On white

11.78
#413151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#413151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413151
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413151#FFFFFF#000000##FFFFFF
##4131511.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#2E3850
Tritanopia (blue-blind)
#3F363D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #413151;
/* rgb */ color: rgb(65, 49, 81);
/* oklch */ color: oklch(34.5% 0.058 306.5);
Tailwind
colors: {
  custom: {
    50: '#766982',
    500: '#413151',
    950: '#000000',
  },
}
SCSS
$custom: #413151;
$custom-light: #766982;
$custom-dark: #000000;
JSON
{
  "hex": "#413151",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 270,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.05796,
    "h": 306.5
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#413151
secondary
#6F825C
accent
#C16794
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #413151

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

Preview Lab → · Contrast checker → · Palette generator →

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