#41174C#41174C

#41174C is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.101 H 318.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#41174C
RGBrgb(65, 23, 76)
HSLhsl(288, 54%, 19%)
HSVhsv(288, 70%, 30%)
CMYKcmyk(14.5%, 69.7%, 0%, 70.2%)
CIE-LABlab(16.79, 29.49, -23.86)
CIE-LCHlch(16.79, 37.94, 321.03°)
OKLaboklab(29.54% 0.076 -0.0667)
OKLCHoklch(29.54% 0.101 318.7)
XYZxyz(3.7907, 2.2586, 7.0723)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41174C #224C17
analogous
#27174C #41174C #4C173D
triadic
#41174C #4C4117 #174C41
tetradic
#41174C #4C2717 #224C17 #173D4C
square
#41174C #4C2717 #224C17 #173D4C
split-complementary
#41174C #3D4C17 #174C27
monochromatic
#140717 #19091D #41174C #69257B #9133AA

Accessibility & contrast

On white

14.47
#41174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#41174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41174C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41174C#FFFFFF#000000##FFFFFF
##41174C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274E
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#41202F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #41174c;
/* rgb */ color: rgb(65, 23, 76);
/* oklch */ color: oklch(29.5% 0.101 318.7);
Tailwind
colors: {
  custom: {
    50: '#78577e',
    500: '#41174c',
    950: '#000000',
  },
}
SCSS
$custom: #41174c;
$custom-light: #78577e;
$custom-dark: #000000;
JSON
{
  "hex": "#41174c",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 287.547,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29536,
    "c": 0.1011,
    "h": 318.7
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#41174C
secondary
#4A833C
accent
#DD4B69
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41174C

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

Preview Lab → · Contrast checker → · Palette generator →

#41174C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva