#41177B#41177B

#41177B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.155 H 295.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#41177B
RGBrgb(65, 23, 123)
HSLhsl(265, 68%, 29%)
HSVhsv(265, 81%, 48%)
CMYKcmyk(47.2%, 81.3%, 0%, 51.8%)
CIE-LABlab(20.70, 41.57, -48.54)
CIE-LCHlch(20.70, 63.91, 310.58°)
OKLaboklab(33.53% 0.0673 -0.1391)
OKLCHoklch(33.53% 0.155 295.8)
XYZxyz(6.0606, 3.1665, 19.0269)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177B #517B17
analogous
#171F7B #41177B #73177B
triadic
#41177B #7B4117 #177B41
tetradic
#41177B #7B171F #517B17 #177B73
square
#41177B #7B171F #517B17 #177B73
split-complementary
#41177B #7B7317 #1F7B17
monochromatic
#0E051A #260D47 #41177B #5C21AF #7933D9

Accessibility & contrast

On white

12.86
#41177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#41177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41177B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177B#FFFFFF#000000##FFFFFF
##41177B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#313349
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41177b;
/* rgb */ color: rgb(65, 23, 123);
/* oklch */ color: oklch(33.5% 0.155 295.8);
Tailwind
colors: {
  custom: {
    50: '#7c5aa2',
    500: '#41177b',
    950: '#000000',
  },
}
SCSS
$custom: #41177b;
$custom-light: #7c5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#41177b",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 265.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33531,
    "c": 0.15454,
    "h": 295.8
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#41177B
secondary
#80B03E
accent
#EB3CA2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177B

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

Preview Lab → · Contrast checker → · Palette generator →

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