#41218E#41218E

#41218E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.166 H 288.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#41218E
RGBrgb(65, 33, 142)
HSLhsl(258, 62%, 34%)
HSVhsv(258, 77%, 56%)
CMYKcmyk(54.2%, 76.8%, 0%, 44.3%)
CIE-LABlab(24.21, 42.15, -54.74)
CIE-LCHlch(24.21, 69.09, 307.60°)
OKLaboklab(36.55% 0.0534 -0.1574)
OKLCHoklch(36.55% 0.166 288.7)
XYZxyz(7.6049, 4.1642, 25.9890)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218E #6E8E21
analogous
#21378E #41218E #78218E
triadic
#41218E #8E4121 #218E41
tetradic
#41218E #8E2137 #6E8E21 #218E78
square
#41218E #8E2137 #6E8E21 #218E78
split-complementary
#41218E #8E7821 #378E21
monochromatic
#140A2B #2A155C #41218E #582DC0 #7952D7

Accessibility & contrast

On white

11.46
#41218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#41218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41218E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218E#FFFFFF#000000##FFFFFF
##41218E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#233F56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41218e;
/* rgb */ color: rgb(65, 33, 142);
/* oklch */ color: oklch(36.5% 0.166 288.7);
Tailwind
colors: {
  custom: {
    50: '#7e60b0',
    500: '#41218e',
    950: '#000000',
  },
}
SCSS
$custom: #41218e;
$custom-light: #7e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41218e",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 257.615,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.1662,
    "h": 288.7
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#41218E
secondary
#9BBA50
accent
#E542B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41218E

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

Preview Lab → · Contrast checker → · Palette generator →

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