#413147#413147

#413147 is a dark, muted purple. Relative luminance 0.038; OKLCH L 34.0% C 0.043 H 316.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#413147
RGBrgb(65, 49, 71)
HSLhsl(284, 18%, 24%)
HSVhsv(284, 31%, 28%)
CMYKcmyk(8.5%, 31%, 0%, 72.2%)
CIE-LABlab(22.91, 12.00, -10.89)
CIE-LCHlch(22.91, 16.21, 317.78°)
OKLaboklab(34.02% 0.0314 -0.0296)
OKLCHoklch(34.02% 0.043 316.7)
XYZxyz(4.4154, 3.7755, 6.4561)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413147 #374731
analogous
#363147 #413147 #473142
triadic
#413147 #474131 #314741
tetradic
#413147 #473631 #374731 #314247
square
#413147 #473631 #374731 #314247
split-complementary
#413147 #424731 #314736
monochromatic
#110C12 #201823 #413147 #624A6B #83638F

Accessibility & contrast

On white

11.97
#413147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#413147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413147
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413147#FFFFFF#000000##FFFFFF
##4131471.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#413439
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #413147;
/* rgb */ color: rgb(65, 49, 71);
/* oklch */ color: oklch(34.0% 0.043 316.7);
Tailwind
colors: {
  custom: {
    50: '#76697a',
    500: '#413147',
    950: '#000000',
  },
}
SCSS
$custom: #413147;
$custom-light: #76697a;
$custom-dark: #000000;
JSON
{
  "hex": "#413147",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 283.636,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34018,
    "c": 0.04319,
    "h": 316.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#413147
secondary
#64775C
accent
#BB6D82
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #413147

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

Preview Lab → · Contrast checker → · Palette generator →

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