#41218F#41218F

#41218F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.167 H 288.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#41218F
RGBrgb(65, 33, 143)
HSLhsl(257, 63%, 35%)
HSVhsv(257, 77%, 56%)
CMYKcmyk(54.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(24.30, 42.44, -55.20)
CIE-LCHlch(24.30, 69.63, 307.55°)
OKLaboklab(36.64% 0.0531 -0.1587)
OKLCHoklch(36.64% 0.167 288.5)
XYZxyz(7.6803, 4.1943, 26.3862)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218F #6F8F21
analogous
#21388F #41218F #78218F
triadic
#41218F #8F4121 #218F41
tetradic
#41218F #8F2138 #6F8F21 #218F78
square
#41218F #8F2138 #6F8F21 #218F78
split-complementary
#41218F #8F7821 #388F21
monochromatic
#140A2C #2A165D #41218F #582CC1 #7A53D7

Accessibility & contrast

On white

11.42
#41218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#41218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41218F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218F#FFFFFF#000000##FFFFFF
##41218F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#224057
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41218f;
/* rgb */ color: rgb(65, 33, 143);
/* oklch */ color: oklch(36.6% 0.167 288.5);
Tailwind
colors: {
  custom: {
    50: '#7f60b1',
    500: '#41218f',
    950: '#000000',
  },
}
SCSS
$custom: #41218f;
$custom-light: #7f60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41218f",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 257.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.1674,
    "h": 288.5
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#41218F
secondary
#9CBB51
accent
#E642B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41218F

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

Preview Lab → · Contrast checker → · Palette generator →

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