#41177F#41177F

#41177F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.159 H 294.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#41177F
RGBrgb(65, 23, 127)
HSLhsl(264, 69%, 29%)
HSVhsv(264, 82%, 50%)
CMYKcmyk(48.8%, 81.9%, 0%, 50.2%)
CIE-LABlab(21.09, 42.65, -50.44)
CIE-LCHlch(21.09, 66.06, 310.22°)
OKLaboklab(33.92% 0.066 -0.1447)
OKLCHoklch(33.92% 0.159 294.5)
XYZxyz(6.3161, 3.2687, 20.3727)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41177F #557F17
analogous
#17217F #41177F #75177F
triadic
#41177F #7F4117 #177F41
tetradic
#41177F #7F1721 #557F17 #177F75
square
#41177F #7F1721 #557F17 #177F75
split-complementary
#41177F #7F7517 #217F17
monochromatic
#0D051A #260E4B #41177F #5C20B3 #7836DB

Accessibility & contrast

On white

12.70
#41177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41177F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41177F#FFFFFF#000000##FFFFFF
##41177F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#2E354B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41177f;
/* rgb */ color: rgb(65, 23, 127);
/* oklch */ color: oklch(33.9% 0.159 294.5);
Tailwind
colors: {
  custom: {
    50: '#7d5aa5',
    500: '#41177f',
    950: '#000000',
  },
}
SCSS
$custom: #41177f;
$custom-light: #7d5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#41177f",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 264.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33922,
    "c": 0.15903,
    "h": 294.5
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#41177F
secondary
#84B43E
accent
#EC3CA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41177F

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

Preview Lab → · Contrast checker → · Palette generator →

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