#41318A#41318A

#41318A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.6% C 0.141 H 285.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#41318A
RGBrgb(65, 49, 138)
HSLhsl(251, 48%, 37%)
HSVhsv(251, 64%, 54%)
CMYKcmyk(52.9%, 64.5%, 0%, 45.9%)
CIE-LABlab(27.17, 31.79, -47.41)
CIE-LCHlch(27.17, 57.08, 303.84°)
OKLaboklab(38.56% 0.0388 -0.1359)
OKLCHoklch(38.56% 0.141 285.9)
XYZxyz(7.8644, 5.1550, 24.6205)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41318A #7A8A31
analogous
#314D8A #41318A #6E318A
triadic
#41318A #8A4131 #318A41
tetradic
#41318A #8A314D #7A8A31 #318A6E
square
#41318A #8A314D #7A8A31 #318A6E
split-complementary
#41318A #8A6E31 #4D8A31
monochromatic
#161130 #2C215D #41318A #5641B7 #7C6BCA

Accessibility & contrast

On white

10.34
#41318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#41318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41318A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41318A#FFFFFF#000000##FFFFFF
##41318A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#254658
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #41318a;
/* rgb */ color: rgb(65, 49, 138);
/* oklch */ color: oklch(38.6% 0.141 285.9);
Tailwind
colors: {
  custom: {
    50: '#7d6aad',
    500: '#41318a',
    950: '#000000',
  },
}
SCSS
$custom: #41318a;
$custom-light: #7d6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#41318a",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 250.787,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.14136,
    "h": 285.9
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#41318A
secondary
#A4B265
accent
#D751BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #41318A

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

Preview Lab → · Contrast checker → · Palette generator →

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