#41316F#41316F

#41316F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.4% C 0.103 H 292.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#41316F
RGBrgb(65, 49, 111)
HSLhsl(255, 39%, 31%)
HSVhsv(255, 56%, 44%)
CMYKcmyk(41.4%, 55.9%, 0%, 56.5%)
CIE-LABlab(25.16, 23.27, -33.63)
CIE-LCHlch(25.16, 40.90, 304.69°)
OKLaboklab(36.44% 0.0393 -0.0954)
OKLCHoklch(36.44% 0.103 292.4)
XYZxyz(6.1468, 4.4680, 15.5744)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41316F #5F6F31
analogous
#31406F #41316F #60316F
triadic
#41316F #6F4131 #316F41
tetradic
#41316F #6F3140 #5F6F31 #316F60
square
#41316F #6F3140 #5F6F31 #316F60
split-complementary
#41316F #6F6031 #406F31
monochromatic
#0F0C1A #281E45 #41316F #5A4499 #7861B9

Accessibility & contrast

On white

11.09
#41316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#41316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41316F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41316F#FFFFFF#000000##FFFFFF
##41316F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#193A6E
Tritanopia (blue-blind)
#353E4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41316f;
/* rgb */ color: rgb(65, 49, 111);
/* oklch */ color: oklch(36.4% 0.103 292.4);
Tailwind
colors: {
  custom: {
    50: '#796999',
    500: '#41316f',
    950: '#000000',
  },
}
SCSS
$custom: #41316f;
$custom-light: #796999;
$custom-dark: #000000;
JSON
{
  "hex": "#41316f",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 255.484,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.10318,
    "h": 292.4
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#41316F
secondary
#8EA05C
accent
#CF59B0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #41316F

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

Preview Lab → · Contrast checker → · Palette generator →

#41316F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva