#41147F#41147F

#41147F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.162 H 294.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#41147F
RGBrgb(65, 20, 127)
HSLhsl(265, 73%, 29%)
HSVhsv(265, 84%, 50%)
CMYKcmyk(48.8%, 84.3%, 0%, 50.2%)
CIE-LABlab(20.66, 43.90, -51.15)
CIE-LCHlch(20.66, 67.41, 310.64°)
OKLaboklab(33.62% 0.0682 -0.1467)
OKLCHoklch(33.62% 0.162 294.9)
XYZxyz(6.2598, 3.1563, 20.3540)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41147F #527F14
analogous
#141C7F #41147F #77147F
triadic
#41147F #7F4114 #147F41
tetradic
#41147F #7F141C #527F14 #147F77
square
#41147F #7F141C #527F14 #147F77
split-complementary
#41147F #7F7714 #1C7F14
monochromatic
#0E041A #260C4A #41147F #5C1CB4 #792FDE

Accessibility & contrast

On white

12.87
#41147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#41147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41147F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41147F#FFFFFF#000000##FFFFFF
##41147F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#2F334B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41147f;
/* rgb */ color: rgb(65, 20, 127);
/* oklch */ color: oklch(33.6% 0.162 294.9);
Tailwind
colors: {
  custom: {
    50: '#7d59a5',
    500: '#41147f',
    950: '#000000',
  },
}
SCSS
$custom: #41147f;
$custom-light: #7d59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41147f",
  "rgb": {
    "r": 65,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 265.234,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.16182,
    "h": 294.9
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#41147F
secondary
#81B43B
accent
#EF38A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41147F

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

Preview Lab → · Contrast checker → · Palette generator →

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