#413289#413289

#413289 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.6% C 0.139 H 285.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#413289
RGBrgb(65, 50, 137)
HSLhsl(250, 47%, 37%)
HSVhsv(250, 64%, 54%)
CMYKcmyk(52.6%, 63.5%, 0%, 46.3%)
CIE-LABlab(27.33, 30.85, -46.54)
CIE-LCHlch(27.33, 55.83, 303.54°)
OKLaboklab(38.65% 0.0378 -0.1333)
OKLCHoklch(38.65% 0.139 285.8)
XYZxyz(7.8346, 5.2108, 24.2550)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413289 #7A8932
analogous
#324F89 #413289 #6D3289
triadic
#413289 #894132 #328941
tetradic
#413289 #89324F #7A8932 #32896D
square
#413289 #89324F #7A8932 #32896D
split-complementary
#413289 #896D32 #4F8932
monochromatic
#16112F #2C225C #413289 #5642B6 #7C6CC9

Accessibility & contrast

On white

10.28
#413289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#413289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413289
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413289#FFFFFF#000000##FFFFFF
##4132891.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#264758
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #413289;
/* rgb */ color: rgb(65, 50, 137);
/* oklch */ color: oklch(38.6% 0.139 285.8);
Tailwind
colors: {
  custom: {
    50: '#7c6bac',
    500: '#413289',
    950: '#000000',
  },
}
SCSS
$custom: #413289;
$custom-light: #7c6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#413289",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 250.345,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.13861,
    "h": 285.8
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#413289
secondary
#A4B166
accent
#D652BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413289

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

Preview Lab → · Contrast checker → · Palette generator →

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