#413282#413282

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

Color values

HEX#413282
RGBrgb(65, 50, 130)
HSLhsl(251, 44%, 35%)
HSVhsv(251, 62%, 51%)
CMYKcmyk(50%, 61.5%, 0%, 49%)
CIE-LABlab(26.78, 28.60, -43.05)
CIE-LCHlch(26.78, 51.69, 303.60°)
OKLaboklab(38.08% 0.0382 -0.1231)
OKLCHoklch(38.08% 0.129 287.2)
XYZxyz(7.3487, 5.0164, 21.6958)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413282 #738232
analogous
#324B82 #413282 #693282
triadic
#413282 #824132 #328241
tetradic
#413282 #82324B #738232 #328269
square
#413282 #82324B #738232 #328269
split-complementary
#413282 #826932 #4B8232
monochromatic
#15102A #2B2156 #413282 #5743AE #7A69C5

Accessibility & contrast

On white

10.48
#413282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413282
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413282#FFFFFF#000000##FFFFFF
##4132821.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#2B4455
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413282;
/* rgb */ color: rgb(65, 50, 130);
/* oklch */ color: oklch(38.1% 0.129 287.2);
Tailwind
colors: {
  custom: {
    50: '#7b6aa7',
    500: '#413282',
    950: '#000000',
  },
}
SCSS
$custom: #413282;
$custom-light: #7b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#413282",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 251.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.1289,
    "h": 287.2
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#413282
secondary
#9FAD63
accent
#D454BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413282

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

Preview Lab → · Contrast checker → · Palette generator →

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