#41218C#41218C

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

Color values

HEX#41218C
RGBrgb(65, 33, 140)
HSLhsl(258, 62%, 34%)
HSVhsv(258, 76%, 55%)
CMYKcmyk(53.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(24.01, 41.56, -53.81)
CIE-LCHlch(24.01, 68.00, 307.68°)
OKLaboklab(36.35% 0.0539 -0.1547)
OKLCHoklch(36.35% 0.164 289.2)
XYZxyz(7.4561, 4.1046, 25.2053)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41218C #6C8C21
analogous
#21378C #41218C #77218C
triadic
#41218C #8C4121 #218C41
tetradic
#41218C #8C2137 #6C8C21 #218C77
square
#41218C #8C2137 #6C8C21 #218C77
split-complementary
#41218C #8C7721 #378C21
monochromatic
#130A29 #2A155A #41218C #582DBE #7951D6

Accessibility & contrast

On white

11.53
#41218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41218C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41218C#FFFFFF#000000##FFFFFF
##41218C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#253E55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41218c;
/* rgb */ color: rgb(65, 33, 140);
/* oklch */ color: oklch(36.4% 0.164 289.2);
Tailwind
colors: {
  custom: {
    50: '#7e60af',
    500: '#41218c',
    950: '#000000',
  },
}
SCSS
$custom: #41218c;
$custom-light: #7e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#41218c",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 257.944,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.16381,
    "h": 289.2
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#41218C
secondary
#9AB94F
accent
#E543B4
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41218C

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

Preview Lab → · Contrast checker → · Palette generator →

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