#41317D#41317D

#41317D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.123 H 288.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#41317D
RGBrgb(65, 49, 125)
HSLhsl(253, 44%, 34%)
HSVhsv(253, 61%, 49%)
CMYKcmyk(48%, 60.8%, 0%, 51%)
CIE-LABlab(26.16, 27.65, -40.92)
CIE-LCHlch(26.16, 49.39, 304.05°)
OKLaboklab(37.5% 0.0396 -0.1168)
OKLCHoklch(37.5% 0.123 288.7)
XYZxyz(6.9789, 4.8008, 19.9570)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41317D #6D7D31
analogous
#31477D #41317D #67317D
triadic
#41317D #7D4131 #317D41
tetradic
#41317D #7D3147 #6D7D31 #317D67
square
#41317D #7D3147 #6D7D31 #317D67
split-complementary
#41317D #7D6731 #477D31
monochromatic
#130F25 #2A2051 #41317D #5842A9 #7966C3

Accessibility & contrast

On white

10.71
#41317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41317D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41317D#FFFFFF#000000##FFFFFF
##41317D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#2E4252
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41317d;
/* rgb */ color: rgb(65, 49, 125);
/* oklch */ color: oklch(37.5% 0.123 288.7);
Tailwind
colors: {
  custom: {
    50: '#7b6aa3',
    500: '#41317d',
    950: '#000000',
  },
}
SCSS
$custom: #41317d;
$custom-light: #7b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41317d",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 252.632,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.375,
    "c": 0.12334,
    "h": 288.7
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#41317D
secondary
#9BAA60
accent
#D354B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41317D

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

Preview Lab → · Contrast checker → · Palette generator →

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