#41187A#41187A

#41187A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.152 H 296.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#41187A
RGBrgb(65, 24, 122)
HSLhsl(265, 67%, 29%)
HSVhsv(265, 80%, 48%)
CMYKcmyk(46.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(20.76, 40.85, -47.80)
CIE-LCHlch(20.76, 62.88, 310.51°)
OKLaboklab(33.54% 0.0667 -0.137)
OKLCHoklch(33.54% 0.152 296)
XYZxyz(6.0185, 3.1821, 18.7057)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41187A #517A18
analogous
#18207A #41187A #72187A
triadic
#41187A #7A4118 #187A41
tetradic
#41187A #7A1820 #517A18 #187A72
square
#41187A #7A1820 #517A18 #187A72
split-complementary
#41187A #7A7218 #207A18
monochromatic
#0E051A #260E47 #41187A #5C22AD #7935D7

Accessibility & contrast

On white

12.83
#41187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41187A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41187A#FFFFFF#000000##FFFFFF
##41187A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#313348
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41187a;
/* rgb */ color: rgb(65, 24, 122);
/* oklch */ color: oklch(33.5% 0.152 296.0);
Tailwind
colors: {
  custom: {
    50: '#7c5aa1',
    500: '#41187a',
    950: '#000000',
  },
}
SCSS
$custom: #41187a;
$custom-light: #7c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#41187a",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 265.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.15238,
    "h": 296
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#41187A
secondary
#80AF3F
accent
#EA3EA2
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41187A

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

Preview Lab → · Contrast checker → · Palette generator →

#41187A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva