#41217B#41217B

#41217B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.143 H 293.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#41217B
RGBrgb(65, 33, 123)
HSLhsl(261, 58%, 31%)
HSVhsv(261, 73%, 48%)
CMYKcmyk(47.2%, 73.2%, 0%, 51.8%)
CIE-LABlab(22.45, 36.60, -45.68)
CIE-LCHlch(22.45, 58.53, 308.70°)
OKLaboklab(34.76% 0.058 -0.1308)
OKLCHoklch(34.76% 0.143 293.9)
XYZxyz(6.2980, 3.6414, 19.1061)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41217B #5B7B21
analogous
#212E7B #41217B #6E217B
triadic
#41217B #7B4121 #217B41
tetradic
#41217B #7B212E #5B7B21 #217B6E
square
#41217B #7B212E #5B7B21 #217B6E
split-complementary
#41217B #7B6E21 #2E7B21
monochromatic
#0E071A #27144B #41217B #5A2EAB #7848CE

Accessibility & contrast

On white

12.15
#41217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41217B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41217B#FFFFFF#000000##FFFFFF
##41217B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#30384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41217b;
/* rgb */ color: rgb(65, 33, 123);
/* oklch */ color: oklch(34.8% 0.143 293.9);
Tailwind
colors: {
  custom: {
    50: '#7c5fa2',
    500: '#41217b',
    950: '#000000',
  },
}
SCSS
$custom: #41217b;
$custom-light: #7c5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#41217b",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 261.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34763,
    "c": 0.14308,
    "h": 293.9
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#41217B
secondary
#8AAE4A
accent
#E147AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41217B

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

Preview Lab → · Contrast checker → · Palette generator →

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