#413191#413191

#413191 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.151 H 284.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#413191
RGBrgb(65, 49, 145)
HSLhsl(250, 49%, 38%)
HSVhsv(250, 66%, 57%)
CMYKcmyk(55.2%, 66.2%, 0%, 43.1%)
CIE-LABlab(27.75, 34.03, -50.80)
CIE-LCHlch(27.75, 61.15, 303.82°)
OKLaboklab(39.16% 0.0381 -0.1459)
OKLCHoklch(39.16% 0.151 284.6)
XYZxyz(8.3876, 5.3643, 27.3760)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413191 #819131
analogous
#315191 #413191 #713191
triadic
#413191 #914131 #319141
tetradic
#413191 #913151 #819131 #319171
square
#413191 #913151 #819131 #319171
split-complementary
#413191 #917131 #519131
monochromatic
#181236 #2C2263 #413191 #5641BF #7E6ECE

Accessibility & contrast

On white

10.13
#413191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#413191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413191
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413191#FFFFFF#000000##FFFFFF
##4131911.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#1F495C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413191;
/* rgb */ color: rgb(65, 49, 145);
/* oklch */ color: oklch(39.2% 0.151 284.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ab2',
    500: '#413191',
    950: '#000000',
  },
}
SCSS
$custom: #413191;
$custom-light: #7e6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#413191",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 250,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.15079,
    "h": 284.6
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#413191
secondary
#A9B668
accent
#D94FC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413191

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

Preview Lab → · Contrast checker → · Palette generator →

#413191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva