#413189#413189

#413189 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.140 H 286.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#413189
RGBrgb(65, 49, 137)
HSLhsl(251, 47%, 36%)
HSVhsv(251, 64%, 54%)
CMYKcmyk(52.6%, 64.2%, 0%, 46.3%)
CIE-LABlab(27.09, 31.47, -46.92)
CIE-LCHlch(27.09, 56.50, 303.85°)
OKLaboklab(38.48% 0.0389 -0.1345)
OKLCHoklch(38.48% 0.14 286.1)
XYZxyz(7.7923, 5.1262, 24.2409)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413189 #798931
analogous
#314D89 #413189 #6D3189
triadic
#413189 #894131 #318941
tetradic
#413189 #89314D #798931 #31896D
square
#413189 #89314D #798931 #31896D
split-complementary
#413189 #896D31 #4D8931
monochromatic
#16112F #2C215C #413189 #5641B6 #7C6BCA

Accessibility & contrast

On white

10.37
#413189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#413189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413189
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413189#FFFFFF#000000##FFFFFF
##4131891.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#264658
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413189;
/* rgb */ color: rgb(65, 49, 137);
/* oklch */ color: oklch(38.5% 0.140 286.1);
Tailwind
colors: {
  custom: {
    50: '#7c6aac',
    500: '#413189',
    950: '#000000',
  },
}
SCSS
$custom: #413189;
$custom-light: #7c6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#413189",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 250.909,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38476,
    "c": 0.14,
    "h": 286.1
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#413189
secondary
#A3B164
accent
#D751BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413189

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

Preview Lab → · Contrast checker → · Palette generator →

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