#41177E#41177E

#41177E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.158 H 294.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#41177E
RGBrgb(65, 23, 126)
HSLhsl(264, 69%, 29%)
HSVhsv(264, 82%, 49%)
CMYKcmyk(48.4%, 81.7%, 0%, 50.6%)
CIE-LABlab(20.99, 42.38, -49.97)
CIE-LCHlch(20.99, 65.52, 310.30°)
OKLaboklab(33.82% 0.0663 -0.1433)
OKLCHoklch(33.82% 0.158 294.8)
XYZxyz(6.2512, 3.2428, 20.0312)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177E #547E17
analogous
#17217E #41177E #75177E
triadic
#41177E #7E4117 #177E41
tetradic
#41177E #7E1721 #547E17 #177E75
square
#41177E #7E1721 #547E17 #177E75
split-complementary
#41177E #7E7517 #217E17
monochromatic
#0D051A #260E4A #41177E #5C20B2 #7835DA

Accessibility & contrast

On white

12.74
#41177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#41177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41177E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177E#FFFFFF#000000##FFFFFF
##41177E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#2F344B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41177e;
/* rgb */ color: rgb(65, 23, 126);
/* oklch */ color: oklch(33.8% 0.158 294.8);
Tailwind
colors: {
  custom: {
    50: '#7d5aa4',
    500: '#41177e',
    950: '#000000',
  },
}
SCSS
$custom: #41177e;
$custom-light: #7d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#41177e",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 264.466,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.15792,
    "h": 294.8
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#41177E
secondary
#83B33E
accent
#EC3CA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177E

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

Preview Lab → · Contrast checker → · Palette generator →

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