#41198F#41198F

#41198F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.175 H 289.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#41198F
RGBrgb(65, 25, 143)
HSLhsl(260, 70%, 33%)
HSVhsv(260, 83%, 56%)
CMYKcmyk(54.5%, 82.5%, 0%, 43.9%)
CIE-LABlab(23.01, 46.18, -57.34)
CIE-LCHlch(23.01, 73.62, 308.85°)
OKLaboklab(35.74% 0.059 -0.1649)
OKLCHoklch(35.74% 0.175 289.7)
XYZxyz(7.4841, 3.8019, 26.3208)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41198F #678F19
analogous
#192C8F #41198F #7C198F
triadic
#41198F #8F4119 #198F41
tetradic
#41198F #8F192C #678F19 #198F7C
square
#41198F #8F192C #678F19 #198F7C
split-complementary
#41198F #8F7C19 #2C8F19
monochromatic
#120727 #29105B #41198F #5922C3 #7844DE

Accessibility & contrast

On white

11.93
#41198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#41198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41198F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41198F#FFFFFF#000000##FFFFFF
##41198F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#233C55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41198f;
/* rgb */ color: rgb(65, 25, 143);
/* oklch */ color: oklch(35.7% 0.175 289.7);
Tailwind
colors: {
  custom: {
    50: '#7f5cb1',
    500: '#41198f',
    950: '#000000',
  },
}
SCSS
$custom: #41198f;
$custom-light: #7f5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#41198f",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 260.339,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3574,
    "c": 0.17515,
    "h": 289.7
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#41198F
secondary
#96BF44
accent
#ED3BB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #41198F

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

Preview Lab → · Contrast checker → · Palette generator →

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