#41177A#41177A

#41177A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 296.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#41177A
RGBrgb(65, 23, 122)
HSLhsl(265, 68%, 28%)
HSVhsv(265, 81%, 48%)
CMYKcmyk(46.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(20.60, 41.30, -48.06)
CIE-LCHlch(20.60, 63.37, 310.67°)
OKLaboklab(33.43% 0.0676 -0.1377)
OKLCHoklch(33.43% 0.153 296.1)
XYZxyz(5.9983, 3.1416, 18.6989)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177A #507A17
analogous
#171E7A #41177A #72177A
triadic
#41177A #7A4117 #177A41
tetradic
#41177A #7A171E #507A17 #177A72
square
#41177A #7A171E #507A17 #177A72
split-complementary
#41177A #7A7217 #1E7A17
monochromatic
#0E051A #260D47 #41177A #5C21AD #7933D9

Accessibility & contrast

On white

12.90
#41177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41177A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177A#FFFFFF#000000##FFFFFF
##41177A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#313348
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41177a;
/* rgb */ color: rgb(65, 23, 122);
/* oklch */ color: oklch(33.4% 0.153 296.1);
Tailwind
colors: {
  custom: {
    50: '#7c5aa1',
    500: '#41177a',
    950: '#000000',
  },
}
SCSS
$custom: #41177a;
$custom-light: #7c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#41177a",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 265.455,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.15342,
    "h": 296.1
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#41177A
secondary
#7FAF3E
accent
#EB3DA1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177A

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

Preview Lab → · Contrast checker → · Palette generator →

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