#413478#413478

#413478 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.7% C 0.112 H 288.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#413478
RGBrgb(65, 52, 120)
HSLhsl(251, 40%, 34%)
HSVhsv(251, 57%, 47%)
CMYKcmyk(45.8%, 56.7%, 0%, 52.9%)
CIE-LABlab(26.55, 24.13, -37.13)
CIE-LCHlch(26.55, 44.28, 303.02°)
OKLaboklab(37.67% 0.0357 -0.1057)
OKLCHoklch(37.67% 0.112 288.7)
XYZxyz(6.7972, 4.9356, 18.3602)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413478 #6B7834
analogous
#344978 #413478 #633478
triadic
#413478 #784134 #347841
tetradic
#413478 #783449 #6B7834 #347863
square
#413478 #783449 #6B7834 #347863
split-complementary
#413478 #786334 #497834
monochromatic
#130F23 #2A214D #413478 #5847A3 #7969BE

Accessibility & contrast

On white

10.57
#413478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413478
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413478#FFFFFF#000000##FFFFFF
##4134781.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11407A
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#314350
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413478;
/* rgb */ color: rgb(65, 52, 120);
/* oklch */ color: oklch(37.7% 0.112 288.7);
Tailwind
colors: {
  custom: {
    50: '#7a6c9f',
    500: '#413478',
    950: '#000000',
  },
}
SCSS
$custom: #413478;
$custom-light: #7a6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#413478",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 251.471,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.11155,
    "h": 288.7
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#413478
secondary
#99A662
accent
#CF58B9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #413478

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

Preview Lab → · Contrast checker → · Palette generator →

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