#41177C#41177C

#41177C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.156 H 295.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#41177C
RGBrgb(65, 23, 124)
HSLhsl(265, 69%, 29%)
HSVhsv(265, 81%, 49%)
CMYKcmyk(47.6%, 81.5%, 0%, 51.4%)
CIE-LABlab(20.80, 41.84, -49.02)
CIE-LCHlch(20.80, 64.45, 310.48°)
OKLaboklab(33.63% 0.0669 -0.1405)
OKLCHoklch(33.63% 0.156 295.5)
XYZxyz(6.1235, 3.1917, 19.3583)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177C #527C17
analogous
#17207C #41177C #74177C
triadic
#41177C #7C4117 #177C41
tetradic
#41177C #7C1720 #527C17 #177C74
square
#41177C #7C1720 #527C17 #177C74
split-complementary
#41177C #7C7417 #207C17
monochromatic
#0E051A #260D48 #41177C #5C21B0 #7934D9

Accessibility & contrast

On white

12.82
#41177C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41177C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177C#FFFFFF#000000##FFFFFF
##41177C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#303349
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41177c;
/* rgb */ color: rgb(65, 23, 124);
/* oklch */ color: oklch(33.6% 0.156 295.5);
Tailwind
colors: {
  custom: {
    50: '#7c5aa3',
    500: '#41177c',
    950: '#000000',
  },
}
SCSS
$custom: #41177c;
$custom-light: #7c5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41177c",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 124
  },
  "hsl": {
    "h": 264.95,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33628,
    "c": 0.15567,
    "h": 295.5
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#41177C
secondary
#81B13E
accent
#EC3CA3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177C

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

Preview Lab → · Contrast checker → · Palette generator →

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