#41174F#41174F

#41174F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.104 H 316.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#41174F
RGBrgb(65, 23, 79)
HSLhsl(285, 55%, 20%)
HSVhsv(285, 71%, 31%)
CMYKcmyk(17.7%, 70.9%, 0%, 69%)
CIE-LABlab(17.00, 30.20, -25.58)
CIE-LCHlch(17.00, 39.58, 319.73°)
OKLaboklab(29.75% 0.0759 -0.0717)
OKLCHoklch(29.75% 0.104 316.6)
XYZxyz(3.8974, 2.3013, 7.6345)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41174F #254F17
analogous
#25174F #41174F #4F1741
triadic
#41174F #4F4117 #174F41
tetradic
#41174F #4F2517 #254F17 #17414F
square
#41174F #4F2517 #254F17 #17414F
split-complementary
#41174F #414F17 #174F25
monochromatic
#140718 #1A0920 #41174F #68257E #8F33AE

Accessibility & contrast

On white

14.38
#41174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41174F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41174F#FFFFFF#000000##FFFFFF
##41174F1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032751
Deuteranopia (green-blind)
#182B4E
Tritanopia (blue-blind)
#402130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #41174f;
/* rgb */ color: rgb(65, 23, 79);
/* oklch */ color: oklch(29.8% 0.104 316.6);
Tailwind
colors: {
  custom: {
    50: '#785781',
    500: '#41174f',
    950: '#000000',
  },
}
SCSS
$custom: #41174f;
$custom-light: #785781;
$custom-dark: #000000;
JSON
{
  "hex": "#41174f",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 285,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.29751,
    "c": 0.10446,
    "h": 316.6
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#41174F
secondary
#4E863C
accent
#DE4A6F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41174F

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

Preview Lab → · Contrast checker → · Palette generator →

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