#413185#413185

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

Color values

HEX#413185
RGBrgb(65, 49, 133)
HSLhsl(251, 46%, 36%)
HSVhsv(251, 63%, 52%)
CMYKcmyk(51.1%, 63.2%, 0%, 47.8%)
CIE-LABlab(26.77, 30.19, -44.94)
CIE-LCHlch(26.77, 54.14, 303.89°)
OKLaboklab(38.14% 0.0392 -0.1287)
OKLCHoklch(38.14% 0.135 286.9)
XYZxyz(7.5107, 5.0136, 22.7577)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413185 #758531
analogous
#314B85 #413185 #6B3185
triadic
#413185 #854131 #318541
tetradic
#413185 #85314B #758531 #31856B
square
#413185 #85314B #758531 #31856B
split-complementary
#413185 #856B31 #4B8531
monochromatic
#15102C #2B2158 #413185 #5741B2 #7B69C8

Accessibility & contrast

On white

10.49
#413185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413185
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413185#FFFFFF#000000##FFFFFF
##4131851.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#294556
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413185;
/* rgb */ color: rgb(65, 49, 133);
/* oklch */ color: oklch(38.1% 0.135 286.9);
Tailwind
colors: {
  custom: {
    50: '#7c6aa9',
    500: '#413185',
    950: '#000000',
  },
}
SCSS
$custom: #413185;
$custom-light: #7c6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#413185",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 251.429,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.13451,
    "h": 286.9
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#413185
secondary
#A1AF63
accent
#D652BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413185

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

Preview Lab → · Contrast checker → · Palette generator →

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