#41187C#41187C

#41187C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.155 H 295.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#41187C
RGBrgb(65, 24, 124)
HSLhsl(265, 68%, 29%)
HSVhsv(265, 81%, 49%)
CMYKcmyk(47.6%, 80.6%, 0%, 51.4%)
CIE-LABlab(20.95, 41.39, -48.76)
CIE-LCHlch(20.95, 63.96, 310.32°)
OKLaboklab(33.74% 0.0661 -0.1398)
OKLCHoklch(33.74% 0.155 295.3)
XYZxyz(6.1437, 3.2322, 19.3650)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41187C #537C18
analogous
#18217C #41187C #73187C
triadic
#41187C #7C4118 #187C41
tetradic
#41187C #7C1821 #537C18 #187C73
square
#41187C #7C1821 #537C18 #187C73
split-complementary
#41187C #7C7318 #217C18
monochromatic
#0D051A #260E49 #41187C #5C22AF #7936D8

Accessibility & contrast

On white

12.76
#41187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#41187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41187C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41187C#FFFFFF#000000##FFFFFF
##41187C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#30344A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41187c;
/* rgb */ color: rgb(65, 24, 124);
/* oklch */ color: oklch(33.7% 0.155 295.3);
Tailwind
colors: {
  custom: {
    50: '#7c5aa3',
    500: '#41187c',
    950: '#000000',
  },
}
SCSS
$custom: #41187c;
$custom-light: #7c5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41187c",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 264.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33736,
    "c": 0.15465,
    "h": 295.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#41187C
secondary
#82B13F
accent
#EA3DA3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41187C

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

Preview Lab → · Contrast checker → · Palette generator →

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