#41318D#41318D

#41318D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.145 H 285.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#41318D
RGBrgb(65, 49, 141)
HSLhsl(250, 48%, 37%)
HSVhsv(250, 65%, 55%)
CMYKcmyk(53.9%, 65.2%, 0%, 44.7%)
CIE-LABlab(27.42, 32.75, -48.87)
CIE-LCHlch(27.42, 58.83, 303.83°)
OKLaboklab(38.82% 0.0386 -0.1402)
OKLCHoklch(38.82% 0.145 285.4)
XYZxyz(8.0846, 5.2431, 25.7802)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41318D #7D8D31
analogous
#314F8D #41318D #6F318D
triadic
#41318D #8D4131 #318D41
tetradic
#41318D #8D314F #7D8D31 #318D6F
square
#41318D #8D314F #7D8D31 #318D6F
split-complementary
#41318D #8D6F31 #4F8D31
monochromatic
#171132 #2C2160 #41318D #5641BA #7D6CCC

Accessibility & contrast

On white

10.25
#41318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#41318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41318D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41318D#FFFFFF#000000##FFFFFF
##41318D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#22475A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #41318d;
/* rgb */ color: rgb(65, 49, 141);
/* oklch */ color: oklch(38.8% 0.145 285.4);
Tailwind
colors: {
  custom: {
    50: '#7d6aaf',
    500: '#41318d',
    950: '#000000',
  },
}
SCSS
$custom: #41318d;
$custom-light: #7d6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#41318d",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 250.435,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.14542,
    "h": 285.4
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#41318D
secondary
#A6B466
accent
#D850C0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #41318D

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

Preview Lab → · Contrast checker → · Palette generator →

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