#41166D#41166D

#41166D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 301.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#41166D
RGBrgb(65, 22, 109)
HSLhsl(270, 66%, 26%)
HSVhsv(270, 80%, 43%)
CMYKcmyk(40.4%, 79.8%, 0%, 57.3%)
CIE-LABlab(19.23, 38.27, -41.93)
CIE-LCHlch(19.23, 56.77, 312.39°)
OKLaboklab(32.1% 0.0723 -0.1197)
OKLCHoklch(32.1% 0.14 301.1)
XYZxyz(5.2265, 2.8017, 14.7305)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41166D #426D16
analogous
#16176D #41166D #6C166D
triadic
#41166D #6D4116 #166D41
tetradic
#41166D #6D1617 #426D16 #166D6C
square
#41166D #6D1617 #426D16 #166D6C
split-complementary
#41166D #6D6C16 #176D16
monochromatic
#0F0519 #230C3A #41166D #5F20A0 #7E2BD3

Accessibility & contrast

On white

13.46
#41166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#41166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41166D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41166D#FFFFFF#000000##FFFFFF
##41166D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#372D41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #41166d;
/* rgb */ color: rgb(65, 22, 109);
/* oklch */ color: oklch(32.1% 0.140 301.1);
Tailwind
colors: {
  custom: {
    50: '#7b5898',
    500: '#41166d',
    950: '#000000',
  },
}
SCSS
$custom: #41166d;
$custom-light: #7b5898;
$custom-dark: #000000;
JSON
{
  "hex": "#41166d",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 269.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.13984,
    "h": 301.1
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#41166D
secondary
#70A33C
accent
#E93E95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #41166D

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

Preview Lab → · Contrast checker → · Palette generator →

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