#413288#413288

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

Color values

HEX#413288
RGBrgb(65, 50, 136)
HSLhsl(250, 46%, 36%)
HSVhsv(250, 63%, 53%)
CMYKcmyk(52.2%, 63.2%, 0%, 46.7%)
CIE-LABlab(27.25, 30.53, -46.04)
CIE-LCHlch(27.25, 55.24, 303.54°)
OKLaboklab(38.57% 0.0379 -0.1319)
OKLCHoklch(38.57% 0.137 286)
XYZxyz(7.7632, 5.1822, 23.8790)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413288 #798832
analogous
#324E88 #413288 #6C3288
triadic
#413288 #884132 #328841
tetradic
#413288 #88324E #798832 #32886C
square
#413288 #88324E #798832 #32886C
split-complementary
#413288 #886C32 #4E8832
monochromatic
#16112F #2C225B #413288 #5642B5 #7C6CC9

Accessibility & contrast

On white

10.31
#413288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413288
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413288#FFFFFF#000000##FFFFFF
##4132881.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#274658
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413288;
/* rgb */ color: rgb(65, 50, 136);
/* oklch */ color: oklch(38.6% 0.137 286.0);
Tailwind
colors: {
  custom: {
    50: '#7c6aab',
    500: '#413288',
    950: '#000000',
  },
}
SCSS
$custom: #413288;
$custom-light: #7c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#413288",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 250.465,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.13723,
    "h": 286
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413288

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

Preview Lab → · Contrast checker → · Palette generator →

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