#41188D#41188D

#41188D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.174 H 290.3°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#41188D
RGBrgb(65, 24, 141)
HSLhsl(261, 71%, 32%)
HSVhsv(261, 83%, 55%)
CMYKcmyk(53.9%, 83%, 0%, 44.7%)
CIE-LABlab(22.65, 46.05, -56.67)
CIE-LCHlch(22.65, 73.03, 309.10°)
OKLaboklab(35.43% 0.0604 -0.163)
OKLCHoklch(35.43% 0.174 290.3)
XYZxyz(7.3129, 3.6998, 25.5230)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41188D #648D18
analogous
#18298D #41188D #7C188D
triadic
#41188D #8D4118 #188D41
tetradic
#41188D #8D1829 #648D18 #188D7C
square
#41188D #8D1829 #648D18 #188D7C
split-complementary
#41188D #8D7C18 #298D18
monochromatic
#110624 #290F59 #41188D #5921C1 #7841DF

Accessibility & contrast

On white

12.07
#41188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41188D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41188D#FFFFFF#000000##FFFFFF
##41188D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#243B53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41188d;
/* rgb */ color: rgb(65, 24, 141);
/* oklch */ color: oklch(35.4% 0.174 290.3);
Tailwind
colors: {
  custom: {
    50: '#7f5baf',
    500: '#41188d',
    950: '#000000',
  },
}
SCSS
$custom: #41188d;
$custom-light: #7f5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#41188d",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 261.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.17378,
    "h": 290.3
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#41188D
secondary
#93BF42
accent
#EE3AAF
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #41188D

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

Preview Lab → · Contrast checker → · Palette generator →

#41188D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva