#413181#413181

#413181 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.8% C 0.129 H 287.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#413181
RGBrgb(65, 49, 129)
HSLhsl(252, 45%, 35%)
HSVhsv(252, 62%, 51%)
CMYKcmyk(49.6%, 62%, 0%, 49.4%)
CIE-LABlab(26.46, 28.92, -42.94)
CIE-LCHlch(26.46, 51.77, 303.96°)
OKLaboklab(37.82% 0.0394 -0.1228)
OKLCHoklch(37.82% 0.129 287.8)
XYZxyz(7.2396, 4.9051, 21.3299)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413181 #718131
analogous
#314981 #413181 #693181
triadic
#413181 #814131 #318141
tetradic
#413181 #813149 #718131 #318169
square
#413181 #813149 #718131 #318169
split-complementary
#413181 #816931 #498131
monochromatic
#140F28 #2B2055 #413181 #5742AD #7A67C5

Accessibility & contrast

On white

10.60
#413181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#413181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413181
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413181#FFFFFF#000000##FFFFFF
##4131811.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#2C4354
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413181;
/* rgb */ color: rgb(65, 49, 129);
/* oklch */ color: oklch(37.8% 0.129 287.8);
Tailwind
colors: {
  custom: {
    50: '#7b6aa6',
    500: '#413181',
    950: '#000000',
  },
}
SCSS
$custom: #413181;
$custom-light: #7b6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#413181",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 252,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.12895,
    "h": 287.8
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#413181
secondary
#9EAD61
accent
#D553BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413181

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

Preview Lab → · Contrast checker → · Palette generator →

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