#41198E#41198E

#41198E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.174 H 289.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#41198E
RGBrgb(65, 25, 142)
HSLhsl(261, 70%, 33%)
HSVhsv(261, 82%, 56%)
CMYKcmyk(54.2%, 82.4%, 0%, 44.3%)
CIE-LABlab(22.90, 45.90, -56.89)
CIE-LCHlch(22.90, 73.10, 308.90°)
OKLaboklab(35.64% 0.0594 -0.1636)
OKLCHoklch(35.64% 0.174 289.9)
XYZxyz(7.4087, 3.7717, 25.9236)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41198E #668E19
analogous
#192B8E #41198E #7C198E
triadic
#41198E #8E4119 #198E41
tetradic
#41198E #8E192B #668E19 #198E7C
square
#41198E #8E192B #668E19 #198E7C
split-complementary
#41198E #8E7C19 #2B8E19
monochromatic
#110726 #29105A #41198E #5922C2 #7843DE

Accessibility & contrast

On white

11.97
#41198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#41198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41198E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41198E#FFFFFF#000000##FFFFFF
##41198E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#243C54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41198e;
/* rgb */ color: rgb(65, 25, 142);
/* oklch */ color: oklch(35.6% 0.174 289.9);
Tailwind
colors: {
  custom: {
    50: '#7f5cb0',
    500: '#41198e',
    950: '#000000',
  },
}
SCSS
$custom: #41198e;
$custom-light: #7f5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#41198e",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 260.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35637,
    "c": 0.17403,
    "h": 289.9
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#41198E
secondary
#95BF44
accent
#ED3BB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #41198E

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

Preview Lab → · Contrast checker → · Palette generator →

#41198E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva