#41156A#41156A

#41156A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.138 H 302.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#41156A
RGBrgb(65, 21, 106)
HSLhsl(271, 67%, 25%)
HSVhsv(271, 80%, 42%)
CMYKcmyk(38.7%, 80.2%, 0%, 58.4%)
CIE-LABlab(18.80, 37.94, -40.67)
CIE-LCHlch(18.80, 55.62, 313.01°)
OKLaboklab(31.72% 0.0741 -0.116)
OKLCHoklch(31.72% 0.138 302.6)
XYZxyz(5.0490, 2.7007, 13.8882)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41156A #3E6A15
analogous
#17156A #41156A #6A1568
triadic
#41156A #6A4115 #156A41
tetradic
#41156A #6A1715 #3E6A15 #15686A
square
#41156A #6A1715 #3E6A15 #15686A
split-complementary
#41156A #686A15 #156A17
monochromatic
#10051A #220B37 #41156A #601F9D #8029D0

Accessibility & contrast

On white

13.63
#41156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#41156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41156A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41156A#FFFFFF#000000##FFFFFF
##41156A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41156a;
/* rgb */ color: rgb(65, 21, 106);
/* oklch */ color: oklch(31.7% 0.138 302.6);
Tailwind
colors: {
  custom: {
    50: '#7a5895',
    500: '#41156a',
    950: '#000000',
  },
}
SCSS
$custom: #41156a;
$custom-light: #7a5895;
$custom-dark: #000000;
JSON
{
  "hex": "#41156a",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 271.059,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31718,
    "c": 0.13763,
    "h": 302.6
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#41156A
secondary
#6CA13A
accent
#EA3E91
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #41156A

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

Preview Lab → · Contrast checker → · Palette generator →

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