#41217E#41217E

#41217E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.147 H 293.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#41217E
RGBrgb(65, 33, 126)
HSLhsl(261, 58%, 31%)
HSVhsv(261, 74%, 49%)
CMYKcmyk(48.4%, 73.8%, 0%, 50.6%)
CIE-LABlab(22.72, 37.47, -47.15)
CIE-LCHlch(22.72, 60.23, 308.48°)
OKLaboklab(35.04% 0.0574 -0.1351)
OKLCHoklch(35.04% 0.147 293)
XYZxyz(6.4887, 3.7177, 20.1103)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41217E #5E7E21
analogous
#212F7E #41217E #6F217E
triadic
#41217E #7E4121 #217E41
tetradic
#41217E #7E212F #5E7E21 #217E6F
square
#41217E #7E212F #5E7E21 #217E6F
split-complementary
#41217E #7E6F21 #2F7E21
monochromatic
#0F081D #28144E #41217E #5A2EAE #784AD0

Accessibility & contrast

On white

12.04
#41217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41217E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41217E#FFFFFF#000000##FFFFFF
##41217E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#2F394D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41217e;
/* rgb */ color: rgb(65, 33, 126);
/* oklch */ color: oklch(35.0% 0.147 293.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fa4',
    500: '#41217e',
    950: '#000000',
  },
}
SCSS
$custom: #41217e;
$custom-light: #7c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#41217e",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 260.645,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35036,
    "c": 0.14679,
    "h": 293
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#41217E
secondary
#8DB14A
accent
#E246AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41217E

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

Preview Lab → · Contrast checker → · Palette generator →

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