#41218B#41218B

#41218B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.163 H 289.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#41218B
RGBrgb(65, 33, 139)
HSLhsl(258, 62%, 34%)
HSVhsv(258, 76%, 55%)
CMYKcmyk(53.2%, 76.3%, 0%, 45.5%)
CIE-LABlab(23.92, 41.27, -53.35)
CIE-LCHlch(23.92, 67.45, 307.73°)
OKLaboklab(36.26% 0.0542 -0.1533)
OKLCHoklch(36.26% 0.163 289.5)
XYZxyz(7.3827, 4.0753, 24.8187)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218B #6B8B21
analogous
#21368B #41218B #76218B
triadic
#41218B #8B4121 #218B41
tetradic
#41218B #8B2136 #6B8B21 #218B76
square
#41218B #8B2136 #6B8B21 #218B76
split-complementary
#41218B #8B7621 #368B21
monochromatic
#130A28 #2A155A #41218B #582DBC #7951D6

Accessibility & contrast

On white

11.57
#41218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#41218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41218B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218B#FFFFFF#000000##FFFFFF
##41218B1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41218b;
/* rgb */ color: rgb(65, 33, 139);
/* oklch */ color: oklch(36.3% 0.163 289.5);
Tailwind
colors: {
  custom: {
    50: '#7e60ae',
    500: '#41218b',
    950: '#000000',
  },
}
SCSS
$custom: #41218b;
$custom-light: #7e60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41218b",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 258.113,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.1626,
    "h": 289.5
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#41218B
secondary
#99B94F
accent
#E543B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41218B

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

Preview Lab → · Contrast checker → · Palette generator →

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