#41176B#41176B

#41176B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.136 H 301.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#41176B
RGBrgb(65, 23, 107)
HSLhsl(270, 65%, 25%)
HSVhsv(270, 79%, 42%)
CMYKcmyk(39.3%, 78.5%, 0%, 58%)
CIE-LABlab(19.22, 37.28, -40.65)
CIE-LCHlch(19.22, 55.16, 312.52°)
OKLaboklab(32.04% 0.0718 -0.116)
OKLCHoklch(32.04% 0.136 301.8)
XYZxyz(5.1396, 2.7981, 14.1764)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41176B #416B17
analogous
#17176B #41176B #6B176B
triadic
#41176B #6B4117 #176B41
tetradic
#41176B #6B1717 #416B17 #176B6B
square
#41176B #6B1717 #416B17 #176B6B
split-complementary
#41176B #6B6B17 #176B17
monochromatic
#0F0519 #220C39 #41176B #60229D #7E2DD0

Accessibility & contrast

On white

13.46
#41176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#41176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41176B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41176B#FFFFFF#000000##FFFFFF
##41176B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#382C40
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #41176b;
/* rgb */ color: rgb(65, 23, 107);
/* oklch */ color: oklch(32.0% 0.136 301.8);
Tailwind
colors: {
  custom: {
    50: '#7a5996',
    500: '#41176b',
    950: '#000000',
  },
}
SCSS
$custom: #41176b;
$custom-light: #7a5996;
$custom-dark: #000000;
JSON
{
  "hex": "#41176b",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 270,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32036,
    "c": 0.13641,
    "h": 301.8
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#41176B
secondary
#6FA13D
accent
#E84094
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #41176B

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

Preview Lab → · Contrast checker → · Palette generator →

#41176B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva