#41318C#41318C

#41318C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.144 H 285.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#41318C
RGBrgb(65, 49, 140)
HSLhsl(251, 48%, 37%)
HSVhsv(251, 65%, 55%)
CMYKcmyk(53.6%, 65%, 0%, 45.1%)
CIE-LABlab(27.33, 32.43, -48.39)
CIE-LCHlch(27.33, 58.25, 303.83°)
OKLaboklab(38.73% 0.0386 -0.1388)
OKLCHoklch(38.73% 0.144 285.6)
XYZxyz(8.0105, 5.2135, 25.3901)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41318C #7C8C31
analogous
#314F8C #41318C #6E318C
triadic
#41318C #8C4131 #318C41
tetradic
#41318C #8C314F #7C8C31 #318C6E
square
#41318C #8C314F #7C8C31 #318C6E
split-complementary
#41318C #8C6E31 #4F8C31
monochromatic
#171131 #2C215F #41318C #5641B9 #7D6CCC

Accessibility & contrast

On white

10.28
#41318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41318C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41318C#FFFFFF#000000##FFFFFF
##41318C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#23475A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #41318c;
/* rgb */ color: rgb(65, 49, 140);
/* oklch */ color: oklch(38.7% 0.144 285.6);
Tailwind
colors: {
  custom: {
    50: '#7d6aae',
    500: '#41318c',
    950: '#000000',
  },
}
SCSS
$custom: #41318c;
$custom-light: #7d6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#41318c",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 250.549,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.14407,
    "h": 285.6
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#41318C
secondary
#A5B366
accent
#D850C0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #41318C

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

Preview Lab → · Contrast checker → · Palette generator →

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