#41317B#41317B

#41317B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.3% C 0.121 H 289.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#41317B
RGBrgb(65, 49, 123)
HSLhsl(253, 43%, 34%)
HSVhsv(253, 60%, 48%)
CMYKcmyk(47.2%, 60.2%, 0%, 51.8%)
CIE-LABlab(26.01, 27.02, -39.90)
CIE-LCHlch(26.01, 48.18, 304.11°)
OKLaboklab(37.34% 0.0396 -0.1138)
OKLCHoklch(37.34% 0.121 289.2)
XYZxyz(6.8524, 4.7502, 19.2909)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41317B #6B7B31
analogous
#31467B #41317B #66317B
triadic
#41317B #7B4131 #317B41
tetradic
#41317B #7B3146 #6B7B31 #317B66
square
#41317B #7B3146 #6B7B31 #317B66
split-complementary
#41317B #7B6631 #467B31
monochromatic
#130E23 #2A204F #41317B #5842A7 #7965C2

Accessibility & contrast

On white

10.77
#41317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#41317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41317B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41317B#FFFFFF#000000##FFFFFF
##41317B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#023C79
Tritanopia (blue-blind)
#2F4251
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41317b;
/* rgb */ color: rgb(65, 49, 123);
/* oklch */ color: oklch(37.3% 0.121 289.2);
Tailwind
colors: {
  custom: {
    50: '#7a6aa2',
    500: '#41317b',
    950: '#000000',
  },
}
SCSS
$custom: #41317b;
$custom-light: #7a6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#41317b",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 252.973,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37344,
    "c": 0.12051,
    "h": 289.2
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#41317B
secondary
#99A95F
accent
#D355B8
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41317B

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

Preview Lab → · Contrast checker → · Palette generator →

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