#41157B#41157B

#41157B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.157 H 296.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#41157B
RGBrgb(65, 21, 123)
HSLhsl(266, 71%, 28%)
HSVhsv(266, 83%, 48%)
CMYKcmyk(47.2%, 82.9%, 0%, 51.8%)
CIE-LABlab(20.40, 42.43, -49.03)
CIE-LCHlch(20.40, 64.84, 310.87°)
OKLaboklab(33.32% 0.0689 -0.1405)
OKLCHoklch(33.32% 0.157 296.1)
XYZxyz(6.0223, 3.0901, 19.0142)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41157B #4F7B15
analogous
#151C7B #41157B #74157B
triadic
#41157B #7B4115 #157B41
tetradic
#41157B #7B151C #4F7B15 #157B74
square
#41157B #7B151C #4F7B15 #157B74
split-complementary
#41157B #7B7415 #1C7B15
monochromatic
#0E041A #250C47 #41157B #5D1EAF #792FDB

Accessibility & contrast

On white

12.98
#41157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41157B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41157B#FFFFFF#000000##FFFFFF
##41157B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#313248
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41157b;
/* rgb */ color: rgb(65, 21, 123);
/* oklch */ color: oklch(33.3% 0.157 296.1);
Tailwind
colors: {
  custom: {
    50: '#7c59a2',
    500: '#41157b',
    950: '#000000',
  },
}
SCSS
$custom: #41157b;
$custom-light: #7c59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41157b",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 265.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33324,
    "c": 0.15651,
    "h": 296.1
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#41157B
secondary
#7EB03B
accent
#EE3AA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41157B

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

Preview Lab → · Contrast checker → · Palette generator →

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