#413382#413382

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

Color values

HEX#413382
RGBrgb(65, 51, 130)
HSLhsl(251, 44%, 35%)
HSVhsv(251, 61%, 51%)
CMYKcmyk(50%, 60.8%, 0%, 49%)
CIE-LABlab(27.03, 27.97, -42.66)
CIE-LCHlch(27.03, 51.01, 303.25°)
OKLaboklab(38.26% 0.037 -0.1219)
OKLCHoklch(38.26% 0.127 286.9)
XYZxyz(7.3919, 5.1028, 21.7102)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413382 #748233
analogous
#334C82 #413382 #683382
triadic
#413382 #824133 #338241
tetradic
#413382 #82334C #748233 #338268
square
#413382 #82334C #748233 #338268
split-complementary
#413382 #826833 #4C8233
monochromatic
#15112A #2B2256 #413382 #5744AE #7B6BC5

Accessibility & contrast

On white

10.39
#413382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413382
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413382#FFFFFF#000000##FFFFFF
##4133821.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #413382;
/* rgb */ color: rgb(65, 51, 130);
/* oklch */ color: oklch(38.3% 0.127 286.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ba7',
    500: '#413382',
    950: '#000000',
  },
}
SCSS
$custom: #413382;
$custom-light: #7b6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#413382",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 250.633,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.12743,
    "h": 286.9
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#413382
secondary
#A0AD64
accent
#D354BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413382

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

Preview Lab → · Contrast checker → · Palette generator →

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