#41317E#41317E

#41317E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.125 H 288.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#41317E
RGBrgb(65, 49, 126)
HSLhsl(252, 44%, 34%)
HSVhsv(252, 61%, 49%)
CMYKcmyk(48.4%, 61.1%, 0%, 50.6%)
CIE-LABlab(26.23, 27.97, -41.43)
CIE-LCHlch(26.23, 49.98, 304.02°)
OKLaboklab(37.58% 0.0395 -0.1183)
OKLCHoklch(37.58% 0.125 288.5)
XYZxyz(7.0431, 4.8265, 20.2951)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41317E #6E7E31
analogous
#31477E #41317E #68317E
triadic
#41317E #7E4131 #317E41
tetradic
#41317E #7E3147 #6E7E31 #317E68
square
#41317E #7E3147 #6E7E31 #317E68
split-complementary
#41317E #7E6831 #477E31
monochromatic
#140F26 #2A2052 #41317E #5842AA #7966C3

Accessibility & contrast

On white

10.68
#41317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#41317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41317E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41317E#FFFFFF#000000##FFFFFF
##41317E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#2D4252
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41317e;
/* rgb */ color: rgb(65, 49, 126);
/* oklch */ color: oklch(37.6% 0.125 288.5);
Tailwind
colors: {
  custom: {
    50: '#7b6aa4',
    500: '#41317e',
    950: '#000000',
  },
}
SCSS
$custom: #41317e;
$custom-light: #7b6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#41317e",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 252.468,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.12475,
    "h": 288.5
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#41317E
secondary
#9BAB60
accent
#D454B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41317E

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

Preview Lab → · Contrast checker → · Palette generator →

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