#41173F#41173F

#41173F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.087 H 329.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#41173F
RGBrgb(65, 23, 63)
HSLhsl(303, 48%, 17%)
HSVhsv(303, 65%, 25%)
CMYKcmyk(0%, 64.6%, 3.1%, 74.5%)
CIE-LABlab(15.98, 26.63, -16.13)
CIE-LCHlch(15.98, 31.13, 328.79°)
OKLaboklab(28.69% 0.075 -0.0443)
OKLCHoklch(28.69% 0.087 329.4)
XYZxyz(3.3835, 2.0957, 4.9280)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41173F #174119
analogous
#2E1741 #41173F #41172A
triadic
#41173F #3F4117 #173F41
tetradic
#41173F #412E17 #174119 #172A41
square
#41173F #412E17 #174119 #172A41
split-complementary
#41173F #2A4117 #17412E
monochromatic
#170816 #170816 #41173F #6E276B #9B3797

Accessibility & contrast

On white

14.80
#41173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#41173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41173F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41173F#FFFFFF#000000##FFFFFF
##41173F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#431B28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #41173f;
/* rgb */ color: rgb(65, 23, 63);
/* oklch */ color: oklch(28.7% 0.087 329.4);
Tailwind
colors: {
  custom: {
    50: '#775774',
    500: '#41173f',
    950: '#000000',
  },
}
SCSS
$custom: #41173f;
$custom-light: #775774;
$custom-dark: #000000;
JSON
{
  "hex": "#41173f",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 302.857,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.08711,
    "h": 329.4
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#41173F
secondary
#3C783F
accent
#D75750
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #41173F

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

Preview Lab → · Contrast checker → · Palette generator →

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