#413284#413284

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

Color values

HEX#413284
RGBrgb(65, 50, 132)
HSLhsl(251, 45%, 36%)
HSVhsv(251, 62%, 52%)
CMYKcmyk(50.8%, 62.1%, 0%, 48.2%)
CIE-LABlab(26.93, 29.24, -44.06)
CIE-LCHlch(26.93, 52.88, 303.57°)
OKLaboklab(38.24% 0.0381 -0.126)
OKLCHoklch(38.24% 0.132 286.8)
XYZxyz(7.4842, 5.0706, 22.4097)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413284 #758432
analogous
#324C84 #413284 #6A3284
triadic
#413284 #844132 #328441
tetradic
#413284 #84324C #758432 #32846A
square
#413284 #84324C #758432 #32846A
split-complementary
#413284 #846A32 #4C8432
monochromatic
#15102B #2B2158 #413284 #5743B0 #7B6AC7

Accessibility & contrast

On white

10.43
#413284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#413284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413284
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413284#FFFFFF#000000##FFFFFF
##4132841.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#2A4556
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413284;
/* rgb */ color: rgb(65, 50, 132);
/* oklch */ color: oklch(38.2% 0.132 286.8);
Tailwind
colors: {
  custom: {
    50: '#7b6aa8',
    500: '#413284',
    950: '#000000',
  },
}
SCSS
$custom: #413284;
$custom-light: #7b6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#413284",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 250.976,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.13169,
    "h": 286.8
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413284

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

Preview Lab → · Contrast checker → · Palette generator →

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