#41186F#41186F

#41186F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 300.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#41186F
RGBrgb(65, 24, 111)
HSLhsl(268, 64%, 26%)
HSVhsv(268, 78%, 44%)
CMYKcmyk(41.4%, 78.4%, 0%, 56.5%)
CIE-LABlab(19.74, 37.87, -42.40)
CIE-LCHlch(19.74, 56.85, 311.77°)
OKLaboklab(32.52% 0.0698 -0.1211)
OKLCHoklch(32.52% 0.14 300)
XYZxyz(5.3751, 2.9247, 15.3172)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41186F #466F18
analogous
#181B6F #41186F #6D186F
triadic
#41186F #6F4118 #186F41
tetradic
#41186F #6F181B #466F18 #186F6D
square
#41186F #6F181B #466F18 #186F6D
split-complementary
#41186F #6F6D18 #1B6F18
monochromatic
#0F0519 #240D3D #41186F #5E23A1 #7C2FD2

Accessibility & contrast

On white

13.25
#41186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#41186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41186F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41186F#FFFFFF#000000##FFFFFF
##41186F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#362E42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #41186f;
/* rgb */ color: rgb(65, 24, 111);
/* oklch */ color: oklch(32.5% 0.140 300.0);
Tailwind
colors: {
  custom: {
    50: '#7b5999',
    500: '#41186f',
    950: '#000000',
  },
}
SCSS
$custom: #41186f;
$custom-light: #7b5999;
$custom-dark: #000000;
JSON
{
  "hex": "#41186f",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 268.276,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32515,
    "c": 0.1398,
    "h": 300
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#41186F
secondary
#74A53E
accent
#E74099
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #41186F

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

Preview Lab → · Contrast checker → · Palette generator →

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