#41186E#41186E

#41186E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.139 H 300.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#41186E
RGBrgb(65, 24, 110)
HSLhsl(269, 64%, 26%)
HSVhsv(269, 78%, 43%)
CMYKcmyk(40.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(19.65, 37.60, -41.89)
CIE-LCHlch(19.65, 56.29, 311.91°)
OKLaboklab(32.42% 0.0701 -0.1196)
OKLCHoklch(32.42% 0.139 300.4)
XYZxyz(5.3204, 2.9028, 15.0288)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41186E #456E18
analogous
#181A6E #41186E #6C186E
triadic
#41186E #6E4118 #186E41
tetradic
#41186E #6E181A #456E18 #186E6C
square
#41186E #6E181A #456E18 #186E6C
split-complementary
#41186E #6E6C18 #1A6E18
monochromatic
#0F0519 #230D3C #41186E #5F23A0 #7C2FD2

Accessibility & contrast

On white

13.29
#41186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#41186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41186E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41186E#FFFFFF#000000##FFFFFF
##41186E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#372E42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #41186e;
/* rgb */ color: rgb(65, 24, 110);
/* oklch */ color: oklch(32.4% 0.139 300.4);
Tailwind
colors: {
  custom: {
    50: '#7a5998',
    500: '#41186e',
    950: '#000000',
  },
}
SCSS
$custom: #41186e;
$custom-light: #7a5998;
$custom-dark: #000000;
JSON
{
  "hex": "#41186e",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 268.605,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32424,
    "c": 0.13865,
    "h": 300.4
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#41186E
secondary
#73A43E
accent
#E74198
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #41186E

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

Preview Lab → · Contrast checker → · Palette generator →

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