#41217D#41217D

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

Color values

HEX#41217D
RGBrgb(65, 33, 125)
HSLhsl(261, 58%, 31%)
HSVhsv(261, 74%, 49%)
CMYKcmyk(48%, 73.6%, 0%, 51%)
CIE-LABlab(22.63, 37.18, -46.66)
CIE-LCHlch(22.63, 59.66, 308.55°)
OKLaboklab(34.94% 0.0576 -0.1337)
OKLCHoklch(34.94% 0.146 293.3)
XYZxyz(6.4245, 3.6920, 19.7722)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41217D #5D7D21
analogous
#212F7D #41217D #6F217D
triadic
#41217D #7D4121 #217D41
tetradic
#41217D #7D212F #5D7D21 #217D6F
square
#41217D #7D212F #5D7D21 #217D6F
split-complementary
#41217D #7D6F21 #2F7D21
monochromatic
#0F071C #28144D #41217D #5A2EAD #7849CF

Accessibility & contrast

On white

12.08
#41217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41217D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41217D#FFFFFF#000000##FFFFFF
##41217D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#2F394C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41217d;
/* rgb */ color: rgb(65, 33, 125);
/* oklch */ color: oklch(34.9% 0.146 293.3);
Tailwind
colors: {
  custom: {
    50: '#7c5fa3',
    500: '#41217d',
    950: '#000000',
  },
}
SCSS
$custom: #41217d;
$custom-light: #7c5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41217d",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 260.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.14555,
    "h": 293.3
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#41217D
secondary
#8CB04A
accent
#E146AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41217D

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

Preview Lab → · Contrast checker → · Palette generator →

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