#41176E#41176E

#41176E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.140 H 300.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#41176E
RGBrgb(65, 23, 110)
HSLhsl(269, 65%, 26%)
HSVhsv(269, 79%, 43%)
CMYKcmyk(40.9%, 79.1%, 0%, 56.9%)
CIE-LABlab(19.48, 38.07, -42.16)
CIE-LCHlch(19.48, 56.81, 312.08°)
OKLaboklab(32.31% 0.0711 -0.1204)
OKLCHoklch(32.31% 0.14 300.5)
XYZxyz(5.3001, 2.8624, 15.0221)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41176E #446E17
analogous
#17186E #41176E #6C176E
triadic
#41176E #6E4117 #176E41
tetradic
#41176E #6E1718 #446E17 #176E6C
square
#41176E #6E1718 #446E17 #176E6C
split-complementary
#41176E #6E6C17 #186E17
monochromatic
#0F0519 #230C3B #41176E #5F22A1 #7D2CD3

Accessibility & contrast

On white

13.36
#41176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#41176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41176E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41176E#FFFFFF#000000##FFFFFF
##41176E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#372E41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #41176e;
/* rgb */ color: rgb(65, 23, 110);
/* oklch */ color: oklch(32.3% 0.140 300.5);
Tailwind
colors: {
  custom: {
    50: '#7b5998',
    500: '#41176e',
    950: '#000000',
  },
}
SCSS
$custom: #41176e;
$custom-light: #7b5998;
$custom-dark: #000000;
JSON
{
  "hex": "#41176e",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 268.966,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32307,
    "c": 0.13982,
    "h": 300.5
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#41176E
secondary
#72A43D
accent
#E83F97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #41176E

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

Preview Lab → · Contrast checker → · Palette generator →

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