#413285#413285

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

Color values

HEX#413285
RGBrgb(65, 50, 133)
HSLhsl(251, 45%, 36%)
HSVhsv(251, 62%, 52%)
CMYKcmyk(51.1%, 62.4%, 0%, 47.8%)
CIE-LABlab(27.01, 29.56, -44.56)
CIE-LCHlch(27.01, 53.47, 303.57°)
OKLaboklab(38.32% 0.0381 -0.1275)
OKLCHoklch(38.32% 0.133 286.6)
XYZxyz(7.5530, 5.0981, 22.7718)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413285 #768532
analogous
#324C85 #413285 #6A3285
triadic
#413285 #854132 #328541
tetradic
#413285 #85324C #768532 #32856A
square
#413285 #85324C #768532 #32856A
split-complementary
#413285 #856A32 #4C8532
monochromatic
#16112C #2B2159 #413285 #5743B1 #7B6AC7

Accessibility & contrast

On white

10.40
#413285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413285
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413285#FFFFFF#000000##FFFFFF
##4132851.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#294556
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413285;
/* rgb */ color: rgb(65, 50, 133);
/* oklch */ color: oklch(38.3% 0.133 286.6);
Tailwind
colors: {
  custom: {
    50: '#7c6aa9',
    500: '#413285',
    950: '#000000',
  },
}
SCSS
$custom: #413285;
$custom-light: #7c6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#413285",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 250.843,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.13308,
    "h": 286.6
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#413285
secondary
#A1AF64
accent
#D553BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413285

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

Preview Lab → · Contrast checker → · Palette generator →

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