#413579#413579

#413579 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 37.9% C 0.111 H 288.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#413579
RGBrgb(65, 53, 121)
HSLhsl(251, 39%, 34%)
HSVhsv(251, 56%, 47%)
CMYKcmyk(46.3%, 56.2%, 0%, 52.5%)
CIE-LABlab(26.88, 23.80, -37.24)
CIE-LCHlch(26.88, 44.19, 302.58°)
OKLaboklab(37.94% 0.0345 -0.106)
OKLCHoklch(37.94% 0.111 288)
XYZxyz(6.9033, 5.0502, 18.6965)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413579 #6D7935
analogous
#354B79 #413579 #633579
triadic
#413579 #794135 #357941
tetradic
#413579 #79354B #6D7935 #357963
square
#413579 #79354B #6D7935 #357963
split-complementary
#413579 #796335 #4B7935
monochromatic
#131024 #2A224E #413579 #5848A4 #796ABE

Accessibility & contrast

On white

10.45
#413579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413579
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413579#FFFFFF#000000##FFFFFF
##4135791.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#304451
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413579;
/* rgb */ color: rgb(65, 53, 121);
/* oklch */ color: oklch(37.9% 0.111 288.0);
Tailwind
colors: {
  custom: {
    50: '#7a6ca0',
    500: '#413579',
    950: '#000000',
  },
}
SCSS
$custom: #413579;
$custom-light: #7a6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#413579",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 250.588,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37939,
    "c": 0.11145,
    "h": 288
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#413579
secondary
#9BA663
accent
#CF59BA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #413579

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

Preview Lab → · Contrast checker → · Palette generator →

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