#41159F#41159F

#41159F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.196 H 286.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#41159F
RGBrgb(65, 21, 159)
HSLhsl(259, 77%, 35%)
HSVhsv(259, 87%, 62%)
CMYKcmyk(59.1%, 86.8%, 0%, 37.6%)
CIE-LABlab(24.20, 52.09, -65.22)
CIE-LCHlch(24.20, 83.46, 308.61°)
OKLaboklab(37.07% 0.0552 -0.1878)
OKLCHoklch(37.07% 0.196 286.4)
XYZxyz(8.7043, 4.1628, 33.1390)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41159F #739F15
analogous
#152E9F #41159F #86159F
triadic
#41159F #9F4115 #159F41
tetradic
#41159F #9F152E #739F15 #159F86
square
#41159F #9F152E #739F15 #159F86
split-complementary
#41159F #9F8615 #2E9F15
monochromatic
#150733 #2B0E69 #41159F #571CD5 #7A48E7

Accessibility & contrast

On white

11.46
#41159F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#41159F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41159F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41159F#FFFFFF#000000##FFFFFF
##41159F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#0C425E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41159f;
/* rgb */ color: rgb(65, 21, 159);
/* oklch */ color: oklch(37.1% 0.196 286.4);
Tailwind
colors: {
  custom: {
    50: '#825bbd',
    500: '#41159f',
    950: '#000000',
  },
}
SCSS
$custom: #41159f;
$custom-light: #825bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#41159f",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 259.13,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.1958,
    "h": 286.4
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#41159F
secondary
#9FC848
accent
#F335B6
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #41159F

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

Preview Lab → · Contrast checker → · Palette generator →

#41159F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva