#41166A#41166A

#41166A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.136 H 302.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#41166A
RGBrgb(65, 22, 106)
HSLhsl(271, 66%, 25%)
HSVhsv(271, 79%, 42%)
CMYKcmyk(38.7%, 79.2%, 0%, 58.4%)
CIE-LABlab(18.96, 37.49, -40.41)
CIE-LCHlch(18.96, 55.12, 312.85°)
OKLaboklab(31.83% 0.0731 -0.1152)
OKLCHoklch(31.83% 0.136 302.4)
XYZxyz(5.0678, 2.7382, 13.8944)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41166A #3F6A16
analogous
#17166A #41166A #6A1669
triadic
#41166A #6A4116 #166A41
tetradic
#41166A #6A1716 #3F6A16 #16696A
square
#41166A #6A1716 #3F6A16 #16696A
split-complementary
#41166A #696A16 #166A17
monochromatic
#100519 #220B37 #41166A #60219D #7F2BCF

Accessibility & contrast

On white

13.57
#41166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#41166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41166A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41166A#FFFFFF#000000##FFFFFF
##41166A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#382B3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #41166a;
/* rgb */ color: rgb(65, 22, 106);
/* oklch */ color: oklch(31.8% 0.136 302.4);
Tailwind
colors: {
  custom: {
    50: '#7a5895',
    500: '#41166a',
    950: '#000000',
  },
}
SCSS
$custom: #41166a;
$custom-light: #7a5895;
$custom-dark: #000000;
JSON
{
  "hex": "#41166a",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 270.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3183,
    "c": 0.13646,
    "h": 302.4
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#41166A
secondary
#6DA03B
accent
#E93F92
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #41166A

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

Preview Lab → · Contrast checker → · Palette generator →

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