#41186C#41186C

#41186C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.136 H 301.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#41186C
RGBrgb(65, 24, 108)
HSLhsl(269, 64%, 26%)
HSVhsv(269, 78%, 42%)
CMYKcmyk(39.8%, 77.8%, 0%, 57.6%)
CIE-LABlab(19.47, 37.06, -40.88)
CIE-LCHlch(19.47, 55.18, 312.20°)
OKLaboklab(32.24% 0.0706 -0.1167)
OKLCHoklch(32.24% 0.136 301.2)
XYZxyz(5.2127, 2.8598, 14.4618)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41186C #436C18
analogous
#18196C #41186C #6B186C
triadic
#41186C #6C4118 #186C41
tetradic
#41186C #6C1819 #436C18 #186C6B
square
#41186C #6C1819 #436C18 #186C6B
split-complementary
#41186C #6C6B18 #196C18
monochromatic
#0F0619 #230D3A #41186C #5F239E #7D2ED0

Accessibility & contrast

On white

13.36
#41186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#41186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41186C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41186C#FFFFFF#000000##FFFFFF
##41186C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#372D41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #41186c;
/* rgb */ color: rgb(65, 24, 108);
/* oklch */ color: oklch(32.2% 0.136 301.2);
Tailwind
colors: {
  custom: {
    50: '#7a5997',
    500: '#41186c',
    950: '#000000',
  },
}
SCSS
$custom: #41186c;
$custom-light: #7a5997;
$custom-dark: #000000;
JSON
{
  "hex": "#41186c",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 269.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.13635,
    "h": 301.2
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#41186C
secondary
#71A23E
accent
#E74196
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #41186C

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

Preview Lab → · Contrast checker → · Palette generator →

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