#413187#413187

#413187 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.137 H 286.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#413187
RGBrgb(65, 49, 135)
HSLhsl(251, 47%, 36%)
HSVhsv(251, 64%, 53%)
CMYKcmyk(51.9%, 63.7%, 0%, 47.1%)
CIE-LABlab(26.93, 30.83, -45.94)
CIE-LCHlch(26.93, 55.32, 303.87°)
OKLaboklab(38.31% 0.0391 -0.1316)
OKLCHoklch(38.31% 0.137 286.5)
XYZxyz(7.6502, 5.0693, 23.4924)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413187 #778731
analogous
#314C87 #413187 #6C3187
triadic
#413187 #874131 #318741
tetradic
#413187 #87314C #778731 #31876C
square
#413187 #87314C #778731 #31876C
split-complementary
#413187 #876C31 #4C8731
monochromatic
#16102D #2B215A #413187 #5741B4 #7B6AC9

Accessibility & contrast

On white

10.43
#413187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#413187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413187
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413187#FFFFFF#000000##FFFFFF
##4131871.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #413187;
/* rgb */ color: rgb(65, 49, 135);
/* oklch */ color: oklch(38.3% 0.137 286.5);
Tailwind
colors: {
  custom: {
    50: '#7c6aab',
    500: '#413187',
    950: '#000000',
  },
}
SCSS
$custom: #413187;
$custom-light: #7c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#413187",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 251.163,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38309,
    "c": 0.13726,
    "h": 286.5
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#413187
secondary
#A2B064
accent
#D651BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413187

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

Preview Lab → · Contrast checker → · Palette generator →

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