#413374#413374

#413374 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.2% C 0.107 H 290.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#413374
RGBrgb(65, 51, 116)
HSLhsl(253, 39%, 33%)
HSVhsv(253, 56%, 45%)
CMYKcmyk(44%, 56%, 0%, 54.5%)
CIE-LABlab(26.02, 23.52, -35.45)
CIE-LCHlch(26.02, 42.54, 303.57°)
OKLaboklab(37.19% 0.0369 -0.1007)
OKLCHoklch(37.19% 0.107 290.1)
XYZxyz(6.5153, 4.7522, 17.0936)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413374 #667433
analogous
#334574 #413374 #613374
triadic
#413374 #744133 #337441
tetradic
#413374 #743345 #667433 #337461
square
#413374 #743345 #667433 #337461
split-complementary
#413374 #746133 #457433
monochromatic
#110E1F #292049 #413374 #59469F #7866BC

Accessibility & contrast

On white

10.77
#413374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#413374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413374
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413374#FFFFFF#000000##FFFFFF
##4133741.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#163C73
Tritanopia (blue-blind)
#33414E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413374;
/* rgb */ color: rgb(65, 51, 116);
/* oklch */ color: oklch(37.2% 0.107 290.1);
Tailwind
colors: {
  custom: {
    50: '#796b9c',
    500: '#413374',
    950: '#000000',
  },
}
SCSS
$custom: #413374;
$custom-light: #796b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#413374",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 252.923,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37188,
    "c": 0.10728,
    "h": 290.1
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#413374
secondary
#95A45F
accent
#CF59B5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413374

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

Preview Lab → · Contrast checker → · Palette generator →

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