#41166B#41166B

#41166B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.138 H 302.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#41166B
RGBrgb(65, 22, 107)
HSLhsl(270, 66%, 25%)
HSVhsv(270, 79%, 42%)
CMYKcmyk(39.3%, 79.4%, 0%, 58%)
CIE-LABlab(19.05, 37.75, -40.92)
CIE-LCHlch(19.05, 55.67, 312.69°)
OKLaboklab(31.92% 0.0728 -0.1167)
OKLCHoklch(31.92% 0.138 302)
XYZxyz(5.1201, 2.7592, 14.1699)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41166B #406B16
analogous
#17166B #41166B #6B166A
triadic
#41166B #6B4116 #166B41
tetradic
#41166B #6B1716 #406B16 #166A6B
square
#41166B #6B1716 #406B16 #166A6B
split-complementary
#41166B #6A6B16 #166B17
monochromatic
#0F0519 #220C38 #41166B #60209E #7F2BD1

Accessibility & contrast

On white

13.53
#41166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41166B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41166B#FFFFFF#000000##FFFFFF
##41166B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#382C3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #41166b;
/* rgb */ color: rgb(65, 22, 107);
/* oklch */ color: oklch(31.9% 0.138 302.0);
Tailwind
colors: {
  custom: {
    50: '#7a5896',
    500: '#41166b',
    950: '#000000',
  },
}
SCSS
$custom: #41166b;
$custom-light: #7a5896;
$custom-dark: #000000;
JSON
{
  "hex": "#41166b",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 270.353,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3192,
    "c": 0.1376,
    "h": 302
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#41166B
secondary
#6EA13B
accent
#E93F93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #41166B

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

Preview Lab → · Contrast checker → · Palette generator →

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