#413474#413474

#413474 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.106 H 289.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#413474
RGBrgb(65, 52, 116)
HSLhsl(252, 38%, 33%)
HSVhsv(252, 55%, 45%)
CMYKcmyk(44%, 55.2%, 0%, 54.5%)
CIE-LABlab(26.28, 22.87, -35.03)
CIE-LCHlch(26.28, 41.84, 303.14°)
OKLaboklab(37.38% 0.0355 -0.0995)
OKLCHoklch(37.38% 0.106 289.6)
XYZxyz(6.5595, 4.8405, 17.1083)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413474 #677434
analogous
#344774 #413474 #613474
triadic
#413474 #744134 #347441
tetradic
#413474 #743447 #677434 #347461
square
#413474 #743447 #677434 #347461
split-complementary
#413474 #746134 #477434
monochromatic
#120E1F #29214A #413474 #59479E #7867BB

Accessibility & contrast

On white

10.67
#413474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#413474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413474
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413474#FFFFFF#000000##FFFFFF
##4134741.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#183D73
Tritanopia (blue-blind)
#33414E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413474;
/* rgb */ color: rgb(65, 52, 116);
/* oklch */ color: oklch(37.4% 0.106 289.6);
Tailwind
colors: {
  custom: {
    50: '#796c9c',
    500: '#413474',
    950: '#000000',
  },
}
SCSS
$custom: #413474;
$custom-light: #796c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#413474",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 252.188,
    "s": 38.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.10567,
    "h": 289.6
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#413474
secondary
#96A361
accent
#CE5AB6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #413474

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

Preview Lab → · Contrast checker → · Palette generator →

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