#41218A#41218A

#41218A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.161 H 289.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#41218A
RGBrgb(65, 33, 138)
HSLhsl(258, 61%, 34%)
HSVhsv(258, 76%, 54%)
CMYKcmyk(52.9%, 76.1%, 0%, 45.9%)
CIE-LABlab(23.82, 40.98, -52.88)
CIE-LCHlch(23.82, 66.90, 307.77°)
OKLaboklab(36.16% 0.0545 -0.1519)
OKLCHoklch(36.16% 0.161 289.7)
XYZxyz(7.3099, 4.0462, 24.4357)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218A #6A8A21
analogous
#21358A #41218A #75218A
triadic
#41218A #8A4121 #218A41
tetradic
#41218A #8A2135 #6A8A21 #218A75
square
#41218A #8A2135 #6A8A21 #218A75
split-complementary
#41218A #8A7521 #358A21
monochromatic
#120927 #2A1559 #41218A #582DBB #7950D5

Accessibility & contrast

On white

11.61
#41218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#41218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41218A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218A#FFFFFF#000000##FFFFFF
##41218A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#263E54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41218a;
/* rgb */ color: rgb(65, 33, 138);
/* oklch */ color: oklch(36.2% 0.161 289.7);
Tailwind
colors: {
  custom: {
    50: '#7e60ad',
    500: '#41218a',
    950: '#000000',
  },
}
SCSS
$custom: #41218a;
$custom-light: #7e60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#41218a",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 258.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.1614,
    "h": 289.7
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#41218A
secondary
#98B94E
accent
#E543B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41218A

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

Preview Lab → · Contrast checker → · Palette generator →

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