#41156C#41156C

#41156C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.140 H 301.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#41156C
RGBrgb(65, 21, 108)
HSLhsl(270, 67%, 25%)
HSVhsv(270, 81%, 42%)
CMYKcmyk(39.8%, 80.6%, 0%, 57.6%)
CIE-LABlab(18.98, 38.47, -41.68)
CIE-LCHlch(18.98, 56.72, 312.70°)
OKLaboklab(31.9% 0.0735 -0.119)
OKLCHoklch(31.9% 0.14 301.7)
XYZxyz(5.1543, 2.7428, 14.4423)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41156C #406C15
analogous
#16156C #41156C #6C156B
triadic
#41156C #6C4115 #156C41
tetradic
#41156C #6C1615 #406C15 #156B6C
square
#41156C #6C1615 #406C15 #156B6C
split-complementary
#41156C #6B6C15 #156C16
monochromatic
#0F051A #220B39 #41156C #601F9F #7F29D2

Accessibility & contrast

On white

13.56
#41156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#41156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41156C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41156C#FFFFFF#000000##FFFFFF
##41156C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#382C40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #41156c;
/* rgb */ color: rgb(65, 21, 108);
/* oklch */ color: oklch(31.9% 0.140 301.7);
Tailwind
colors: {
  custom: {
    50: '#7a5897',
    500: '#41156c',
    950: '#000000',
  },
}
SCSS
$custom: #41156c;
$custom-light: #7a5897;
$custom-dark: #000000;
JSON
{
  "hex": "#41156c",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 270.345,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.319,
    "c": 0.13987,
    "h": 301.7
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#41156C
secondary
#6EA33A
accent
#EA3D93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #41156C

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

Preview Lab → · Contrast checker → · Palette generator →

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