#413381#413381

#413381 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.2% C 0.126 H 287.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#413381
RGBrgb(65, 51, 129)
HSLhsl(251, 43%, 35%)
HSVhsv(251, 60%, 51%)
CMYKcmyk(49.6%, 60.5%, 0%, 49.4%)
CIE-LABlab(26.95, 27.65, -42.15)
CIE-LCHlch(26.95, 50.41, 303.26°)
OKLaboklab(38.18% 0.037 -0.1204)
OKLCHoklch(38.18% 0.126 287.1)
XYZxyz(7.3251, 5.0761, 21.3584)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413381 #738133
analogous
#334C81 #413381 #683381
triadic
#413381 #814133 #338141
tetradic
#413381 #81334C #738133 #338168
square
#413381 #81334C #738133 #338168
split-complementary
#413381 #816833 #4C8133
monochromatic
#151029 #2B2255 #413381 #5744AD #7A6AC4

Accessibility & contrast

On white

10.42
#413381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#413381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413381
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413381#FFFFFF#000000##FFFFFF
##4133811.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#2B4555
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413381;
/* rgb */ color: rgb(65, 51, 129);
/* oklch */ color: oklch(38.2% 0.126 287.1);
Tailwind
colors: {
  custom: {
    50: '#7b6ba6',
    500: '#413381',
    950: '#000000',
  },
}
SCSS
$custom: #413381;
$custom-light: #7b6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#413381",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 250.769,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.12601,
    "h": 287.1
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#413381
secondary
#9FAC64
accent
#D355BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413381

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

Preview Lab → · Contrast checker → · Palette generator →

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