#413387#413387

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

Color values

HEX#413387
RGBrgb(65, 51, 135)
HSLhsl(250, 45%, 36%)
HSVhsv(250, 62%, 53%)
CMYKcmyk(51.9%, 62.2%, 0%, 47.1%)
CIE-LABlab(27.41, 29.57, -45.16)
CIE-LCHlch(27.41, 53.98, 303.22°)
OKLaboklab(38.66% 0.0368 -0.1293)
OKLCHoklch(38.66% 0.134 285.9)
XYZxyz(7.7357, 5.2404, 23.5209)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413387 #798733
analogous
#334F87 #413387 #6B3387
triadic
#413387 #874133 #338741
tetradic
#413387 #87334F #798733 #33876B
square
#413387 #87334F #798733 #33876B
split-complementary
#413387 #876B33 #4F8733
monochromatic
#16112E #2C225B #413387 #5644B3 #7C6DC8

Accessibility & contrast

On white

10.25
#413387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#413387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413387
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413387#FFFFFF#000000##FFFFFF
##4133871.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#274758
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413387;
/* rgb */ color: rgb(65, 51, 135);
/* oklch */ color: oklch(38.7% 0.134 285.9);
Tailwind
colors: {
  custom: {
    50: '#7c6bab',
    500: '#413387',
    950: '#000000',
  },
}
SCSS
$custom: #413387;
$custom-light: #7c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#413387",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 250,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.13444,
    "h": 285.9
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#413387
secondary
#A3B066
accent
#D553BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413387

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

Preview Lab → · Contrast checker → · Palette generator →

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