#41217A#41217A

#41217A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.142 H 294.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#41217A
RGBrgb(65, 33, 122)
HSLhsl(262, 57%, 30%)
HSVhsv(262, 73%, 48%)
CMYKcmyk(46.7%, 73%, 0%, 52.2%)
CIE-LABlab(22.36, 36.31, -45.19)
CIE-LCHlch(22.36, 57.97, 308.79°)
OKLaboklab(34.67% 0.0582 -0.1294)
OKLCHoklch(34.67% 0.142 294.2)
XYZxyz(6.2357, 3.6165, 18.7781)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41217A #5A7A21
analogous
#212E7A #41217A #6D217A
triadic
#41217A #7A4121 #217A41
tetradic
#41217A #7A212E #5A7A21 #217A6D
square
#41217A #7A212E #5A7A21 #217A6D
split-complementary
#41217A #7A6D21 #2E7A21
monochromatic
#0E071A #27144A #41217A #5B2EAA #7848CD

Accessibility & contrast

On white

12.19
#41217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#41217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41217A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41217A#FFFFFF#000000##FFFFFF
##41217A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#31374B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #41217a;
/* rgb */ color: rgb(65, 33, 122);
/* oklch */ color: oklch(34.7% 0.142 294.2);
Tailwind
colors: {
  custom: {
    50: '#7b5fa1',
    500: '#41217a',
    950: '#000000',
  },
}
SCSS
$custom: #41217a;
$custom-light: #7b5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#41217a",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 261.573,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34674,
    "c": 0.14184,
    "h": 294.2
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#41217A
secondary
#89AD4A
accent
#E147A9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41217A

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

Preview Lab → · Contrast checker → · Palette generator →

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