#41177D#41177D

#41177D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.157 H 295.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#41177D
RGBrgb(65, 23, 125)
HSLhsl(265, 69%, 29%)
HSVhsv(265, 82%, 49%)
CMYKcmyk(48%, 81.6%, 0%, 51%)
CIE-LABlab(20.89, 42.11, -49.50)
CIE-LCHlch(20.89, 64.99, 310.39°)
OKLaboklab(33.73% 0.0666 -0.1419)
OKLCHoklch(33.73% 0.157 295.1)
XYZxyz(6.1870, 3.2171, 19.6930)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177D #537D17
analogous
#17207D #41177D #74177D
triadic
#41177D #7D4117 #177D41
tetradic
#41177D #7D1720 #537D17 #177D74
square
#41177D #7D1720 #537D17 #177D74
split-complementary
#41177D #7D7417 #207D17
monochromatic
#0D051A #260D49 #41177D #5C21B1 #7935DA

Accessibility & contrast

On white

12.78
#41177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41177D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177D#FFFFFF#000000##FFFFFF
##41177D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#30344A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41177d;
/* rgb */ color: rgb(65, 23, 125);
/* oklch */ color: oklch(33.7% 0.157 295.1);
Tailwind
colors: {
  custom: {
    50: '#7d5aa4',
    500: '#41177d',
    950: '#000000',
  },
}
SCSS
$custom: #41177d;
$custom-light: #7d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#41177d",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 264.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33726,
    "c": 0.15678,
    "h": 295.1
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#41177D
secondary
#82B23E
accent
#EC3CA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177D

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

Preview Lab → · Contrast checker → · Palette generator →

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