#41217C#41217C

#41217C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.144 H 293.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#41217C
RGBrgb(65, 33, 124)
HSLhsl(261, 58%, 31%)
HSVhsv(261, 73%, 49%)
CMYKcmyk(47.6%, 73.4%, 0%, 51.4%)
CIE-LABlab(22.54, 36.89, -46.17)
CIE-LCHlch(22.54, 59.10, 308.63°)
OKLaboklab(34.85% 0.0578 -0.1322)
OKLCHoklch(34.85% 0.144 293.6)
XYZxyz(6.3609, 3.6666, 19.4374)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41217C #5C7C21
analogous
#212E7C #41217C #6E217C
triadic
#41217C #7C4121 #217C41
tetradic
#41217C #7C212E #5C7C21 #217C6E
square
#41217C #7C212E #5C7C21 #217C6E
split-complementary
#41217C #7C6E21 #2E7C21
monochromatic
#0E071B #28144C #41217C #5A2EAC #7849CF

Accessibility & contrast

On white

12.11
#41217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#41217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41217C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41217C#FFFFFF#000000##FFFFFF
##41217C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#30384C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41217c;
/* rgb */ color: rgb(65, 33, 124);
/* oklch */ color: oklch(34.9% 0.144 293.6);
Tailwind
colors: {
  custom: {
    50: '#7c5fa3',
    500: '#41217c',
    950: '#000000',
  },
}
SCSS
$custom: #41217c;
$custom-light: #7c5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41217c",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 261.099,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.14432,
    "h": 293.6
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#41217C
secondary
#8BAF4A
accent
#E147AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41217C

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

Preview Lab → · Contrast checker → · Palette generator →

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