#41317C#41317C

#41317C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.4% C 0.122 H 288.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#41317C
RGBrgb(65, 49, 124)
HSLhsl(253, 43%, 34%)
HSVhsv(253, 60%, 49%)
CMYKcmyk(47.6%, 60.5%, 0%, 51.4%)
CIE-LABlab(26.09, 27.33, -40.41)
CIE-LCHlch(26.09, 48.78, 304.08°)
OKLaboklab(37.42% 0.0396 -0.1153)
OKLCHoklch(37.42% 0.122 288.9)
XYZxyz(6.9153, 4.7754, 19.6223)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41317C #6C7C31
analogous
#31477C #41317C #67317C
triadic
#41317C #7C4131 #317C41
tetradic
#41317C #7C3147 #6C7C31 #317C67
square
#41317C #7C3147 #6C7C31 #317C67
split-complementary
#41317C #7C6731 #477C31
monochromatic
#130E24 #2A2050 #41317C #5842A8 #7965C2

Accessibility & contrast

On white

10.74
#41317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#41317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41317C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41317C#FFFFFF#000000##FFFFFF
##41317C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#2F4251
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41317c;
/* rgb */ color: rgb(65, 49, 124);
/* oklch */ color: oklch(37.4% 0.122 288.9);
Tailwind
colors: {
  custom: {
    50: '#7a6aa2',
    500: '#41317c',
    950: '#000000',
  },
}
SCSS
$custom: #41317c;
$custom-light: #7a6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#41317c",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 252.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.12193,
    "h": 288.9
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#41317C
secondary
#9AAA5F
accent
#D355B8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41317C

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

Preview Lab → · Contrast checker → · Palette generator →

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