#41218D#41218D

#41218D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.165 H 289.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#41218D
RGBrgb(65, 33, 141)
HSLhsl(258, 62%, 34%)
HSVhsv(258, 77%, 55%)
CMYKcmyk(53.9%, 76.6%, 0%, 44.7%)
CIE-LABlab(24.11, 41.86, -54.28)
CIE-LCHlch(24.11, 68.54, 307.64°)
OKLaboklab(36.45% 0.0537 -0.156)
OKLCHoklch(36.45% 0.165 289)
XYZxyz(7.5301, 4.1343, 25.5954)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218D #6D8D21
analogous
#21378D #41218D #77218D
triadic
#41218D #8D4121 #218D41
tetradic
#41218D #8D2137 #6D8D21 #218D77
square
#41218D #8D2137 #6D8D21 #218D77
split-complementary
#41218D #8D7721 #378D21
monochromatic
#130A2A #2A155B #41218D #582DBF #7952D6

Accessibility & contrast

On white

11.49
#41218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41218D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218D#FFFFFF#000000##FFFFFF
##41218D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#243F55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41218d;
/* rgb */ color: rgb(65, 33, 141);
/* oklch */ color: oklch(36.4% 0.165 289.0);
Tailwind
colors: {
  custom: {
    50: '#7e60af',
    500: '#41218d',
    950: '#000000',
  },
}
SCSS
$custom: #41218d;
$custom-light: #7e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#41218d",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 257.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.165,
    "h": 289
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#41218D
secondary
#9BBA50
accent
#E543B5
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41218D

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

Preview Lab → · Contrast checker → · Palette generator →

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