#41216F#41216F

#41216F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.128 H 298.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#41216F
RGBrgb(65, 33, 111)
HSLhsl(265, 54%, 28%)
HSVhsv(265, 70%, 44%)
CMYKcmyk(41.4%, 70.3%, 0%, 56.5%)
CIE-LABlab(21.43, 33.14, -39.65)
CIE-LCHlch(21.43, 51.68, 309.89°)
OKLaboklab(33.72% 0.0601 -0.1131)
OKLCHoklch(33.72% 0.128 298)
XYZxyz(5.5923, 3.3591, 15.3896)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41216F #4F6F21
analogous
#21286F #41216F #68216F
triadic
#41216F #6F4121 #216F41
tetradic
#41216F #6F2128 #4F6F21 #216F68
square
#41216F #6F2128 #4F6F21 #216F68
split-complementary
#41216F #6F6821 #286F21
monochromatic
#0E0718 #251340 #41216F #5D2F9E #7943C7

Accessibility & contrast

On white

12.56
#41216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#41216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41216F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41216F#FFFFFF#000000##FFFFFF
##41216F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#363345
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41216f;
/* rgb */ color: rgb(65, 33, 111);
/* oklch */ color: oklch(33.7% 0.128 298.0);
Tailwind
colors: {
  custom: {
    50: '#7a5f99',
    500: '#41216f',
    950: '#000000',
  },
}
SCSS
$custom: #41216f;
$custom-light: #7a5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#41216f",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 264.615,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.12805,
    "h": 298
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#41216F
secondary
#7EA349
accent
#DE4AA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #41216F

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

Preview Lab → · Contrast checker → · Palette generator →

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