#413479#413479

#413479 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.7% C 0.113 H 288.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#413479
RGBrgb(65, 52, 121)
HSLhsl(251, 40%, 34%)
HSVhsv(251, 57%, 47%)
CMYKcmyk(46.3%, 57%, 0%, 52.5%)
CIE-LABlab(26.62, 24.45, -37.65)
CIE-LCHlch(26.62, 44.89, 303.00°)
OKLaboklab(37.75% 0.0357 -0.1072)
OKLCHoklch(37.75% 0.113 288.4)
XYZxyz(6.8582, 4.9600, 18.6815)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413479 #6C7934
analogous
#344A79 #413479 #643479
triadic
#413479 #794134 #347941
tetradic
#413479 #79344A #6C7934 #347964
square
#413479 #79344A #6C7934 #347964
split-complementary
#413479 #796434 #4A7934
monochromatic
#130F23 #2A224E #413479 #5846A4 #7969BE

Accessibility & contrast

On white

10.54
#413479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#413479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413479
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413479#FFFFFF#000000##FFFFFF
##4134791.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10407B
Deuteranopia (green-blind)
#103D77
Tritanopia (blue-blind)
#304351
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413479;
/* rgb */ color: rgb(65, 52, 121);
/* oklch */ color: oklch(37.7% 0.113 288.4);
Tailwind
colors: {
  custom: {
    50: '#7a6ca0',
    500: '#413479',
    950: '#000000',
  },
}
SCSS
$custom: #413479;
$custom-light: #7a6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#413479",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 251.304,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.113,
    "h": 288.4
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#413479
secondary
#9AA762
accent
#D058B9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #413479

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

Preview Lab → · Contrast checker → · Palette generator →

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