#41157C#41157C

#41157C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.158 H 295.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#41157C
RGBrgb(65, 21, 124)
HSLhsl(266, 71%, 28%)
HSVhsv(266, 83%, 49%)
CMYKcmyk(47.6%, 83.1%, 0%, 51.4%)
CIE-LABlab(20.50, 42.70, -49.51)
CIE-LCHlch(20.50, 65.38, 310.78°)
OKLaboklab(33.42% 0.0685 -0.1419)
OKLCHoklch(33.42% 0.158 295.8)
XYZxyz(6.0852, 3.1152, 19.3456)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41157C #507C15
analogous
#151D7C #41157C #74157C
triadic
#41157C #7C4115 #157C41
tetradic
#41157C #7C151D #507C15 #157C74
square
#41157C #7C151D #507C15 #157C74
split-complementary
#41157C #7C7415 #1D7C15
monochromatic
#0E041A #260C48 #41157C #5C1EB0 #7930DC

Accessibility & contrast

On white

12.94
#41157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41157C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41157C#FFFFFF#000000##FFFFFF
##41157C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#303349
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41157c;
/* rgb */ color: rgb(65, 21, 124);
/* oklch */ color: oklch(33.4% 0.158 295.8);
Tailwind
colors: {
  custom: {
    50: '#7d59a3',
    500: '#41157c',
    950: '#000000',
  },
}
SCSS
$custom: #41157c;
$custom-light: #7d59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41157c",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 265.631,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33423,
    "c": 0.15761,
    "h": 295.8
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#41157C
secondary
#7FB13C
accent
#EE3AA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41157C

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

Preview Lab → · Contrast checker → · Palette generator →

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