#41318B#41318B

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

Color values

HEX#41318B
RGBrgb(65, 49, 139)
HSLhsl(251, 48%, 37%)
HSVhsv(251, 65%, 55%)
CMYKcmyk(53.2%, 64.7%, 0%, 45.5%)
CIE-LABlab(27.25, 32.11, -47.90)
CIE-LCHlch(27.25, 57.67, 303.84°)
OKLaboklab(38.65% 0.0387 -0.1374)
OKLCHoklch(38.65% 0.143 285.8)
XYZxyz(7.9371, 5.1841, 25.0035)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41318B #7B8B31
analogous
#314E8B #41318B #6E318B
triadic
#41318B #8B4131 #318B41
tetradic
#41318B #8B314E #7B8B31 #318B6E
square
#41318B #8B314E #7B8B31 #318B6E
split-complementary
#41318B #8B6E31 #4E8B31
monochromatic
#171131 #2C215E #41318B #5641B8 #7C6BCB

Accessibility & contrast

On white

10.31
#41318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#41318B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41318B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41318B#FFFFFF#000000##FFFFFF
##41318B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#244759
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #41318b;
/* rgb */ color: rgb(65, 49, 139);
/* oklch */ color: oklch(38.6% 0.143 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d6aae',
    500: '#41318b',
    950: '#000000',
  },
}
SCSS
$custom: #41318b;
$custom-light: #7d6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#41318b",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 250.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.14272,
    "h": 285.8
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#41318B
secondary
#A5B265
accent
#D750BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #41318B

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

Preview Lab → · Contrast checker → · Palette generator →

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