#41174E#41174E

#41174E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.103 H 317.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#41174E
RGBrgb(65, 23, 78)
HSLhsl(286, 54%, 20%)
HSVhsv(286, 71%, 31%)
CMYKcmyk(16.7%, 70.5%, 0%, 69.4%)
CIE-LABlab(16.93, 29.96, -25.01)
CIE-LCHlch(16.93, 39.03, 320.15°)
OKLaboklab(29.68% 0.076 -0.0701)
OKLCHoklch(29.68% 0.103 317.3)
XYZxyz(3.8613, 2.2868, 7.4443)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41174E #244E17
analogous
#26174E #41174E #4E1740
triadic
#41174E #4E4117 #174E41
tetradic
#41174E #4E2617 #244E17 #17404E
square
#41174E #4E2617 #244E17 #17404E
split-complementary
#41174E #404E17 #174E26
monochromatic
#140718 #1A091F #41174E #68257D #9033AD

Accessibility & contrast

On white

14.41
#41174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#41174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41174E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41174E#FFFFFF#000000##FFFFFF
##41174E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#412130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #41174e;
/* rgb */ color: rgb(65, 23, 78);
/* oklch */ color: oklch(29.7% 0.103 317.3);
Tailwind
colors: {
  custom: {
    50: '#785780',
    500: '#41174e',
    950: '#000000',
  },
}
SCSS
$custom: #41174e;
$custom-light: #785780;
$custom-dark: #000000;
JSON
{
  "hex": "#41174e",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 285.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.10334,
    "h": 317.3
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#41174E
secondary
#4D853C
accent
#DE4A6D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41174E

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

Preview Lab → · Contrast checker → · Palette generator →

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