#413087#413087

#413087 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.139 H 286.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#413087
RGBrgb(65, 48, 135)
HSLhsl(252, 48%, 36%)
HSVhsv(252, 64%, 53%)
CMYKcmyk(51.9%, 64.4%, 0%, 47.1%)
CIE-LABlab(26.70, 31.45, -46.32)
CIE-LCHlch(26.70, 55.99, 304.18°)
OKLaboklab(38.14% 0.0402 -0.1327)
OKLCHoklch(38.14% 0.139 286.8)
XYZxyz(7.6088, 4.9866, 23.4786)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413087 #768730
analogous
#304A87 #413087 #6C3087
triadic
#413087 #874130 #308741
tetradic
#413087 #87304A #768730 #30876C
square
#413087 #87304A #768730 #30876C
split-complementary
#413087 #876C30 #4A8730
monochromatic
#16102D #2B205A #413087 #5740B4 #7B68C9

Accessibility & contrast

On white

10.51
#413087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#413087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413087
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413087#FFFFFF#000000##FFFFFF
##4130871.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#284557
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413087;
/* rgb */ color: rgb(65, 48, 135);
/* oklch */ color: oklch(38.1% 0.139 286.8);
Tailwind
colors: {
  custom: {
    50: '#7c69ab',
    500: '#413087',
    950: '#000000',
  },
}
SCSS
$custom: #413087;
$custom-light: #7c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#413087",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 251.724,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.13865,
    "h": 286.8
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#413087
secondary
#A1B162
accent
#D751BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413087

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

Preview Lab → · Contrast checker → · Palette generator →

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