#41316E#41316E

#41316E is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.4% C 0.102 H 292.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#41316E
RGBrgb(65, 49, 110)
HSLhsl(256, 38%, 31%)
HSVhsv(256, 55%, 43%)
CMYKcmyk(40.9%, 55.5%, 0%, 56.9%)
CIE-LABlab(25.09, 22.97, -33.09)
CIE-LCHlch(25.09, 40.28, 304.76°)
OKLaboklab(36.37% 0.0393 -0.0938)
OKLCHoklch(36.37% 0.102 292.7)
XYZxyz(6.0920, 4.4461, 15.2860)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41316E #5E6E31
analogous
#313F6E #41316E #5F316E
triadic
#41316E #6E4131 #316E41
tetradic
#41316E #6E313F #5E6E31 #316E5F
square
#41316E #6E313F #5E6E31 #316E5F
split-complementary
#41316E #6E5F31 #3F6E31
monochromatic
#0F0B19 #281E44 #41316E #5A4498 #7861B9

Accessibility & contrast

On white

11.12
#41316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41316E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41316E#FFFFFF#000000##FFFFFF
##41316E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#1A3A6D
Tritanopia (blue-blind)
#353E4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41316e;
/* rgb */ color: rgb(65, 49, 110);
/* oklch */ color: oklch(36.4% 0.102 292.7);
Tailwind
colors: {
  custom: {
    50: '#796998',
    500: '#41316e',
    950: '#000000',
  },
}
SCSS
$custom: #41316e;
$custom-light: #796998;
$custom-dark: #000000;
JSON
{
  "hex": "#41316e",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 255.738,
    "s": 38.365,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.10172,
    "h": 292.7
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#41316E
secondary
#8D9F5C
accent
#CE59B0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #41316E

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

Preview Lab → · Contrast checker → · Palette generator →

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