#413287#413287

#413287 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.5% C 0.136 H 286.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#413287
RGBrgb(65, 50, 135)
HSLhsl(251, 46%, 36%)
HSVhsv(251, 63%, 53%)
CMYKcmyk(51.9%, 63%, 0%, 47.1%)
CIE-LABlab(27.17, 30.21, -45.55)
CIE-LCHlch(27.17, 54.66, 303.55°)
OKLaboklab(38.48% 0.0379 -0.1304)
OKLCHoklch(38.48% 0.136 286.2)
XYZxyz(7.6925, 5.1539, 23.5064)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413287 #788732
analogous
#324E87 #413287 #6C3287
triadic
#413287 #874132 #328741
tetradic
#413287 #87324E #788732 #32876C
square
#413287 #87324E #788732 #32876C
split-complementary
#413287 #876C32 #4E8732
monochromatic
#16112E #2B215A #413287 #5743B4 #7C6BC8

Accessibility & contrast

On white

10.34
#413287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413287
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413287#FFFFFF#000000##FFFFFF
##4132871.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#274657
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413287;
/* rgb */ color: rgb(65, 50, 135);
/* oklch */ color: oklch(38.5% 0.136 286.2);
Tailwind
colors: {
  custom: {
    50: '#7c6aab',
    500: '#413287',
    950: '#000000',
  },
}
SCSS
$custom: #413287;
$custom-light: #7c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#413287",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 250.588,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.13586,
    "h": 286.2
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#413287
secondary
#A3B065
accent
#D652BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413287

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

Preview Lab → · Contrast checker → · Palette generator →

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