#413378#413378

#413378 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.5% C 0.113 H 289.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#413378
RGBrgb(65, 51, 120)
HSLhsl(252, 40%, 34%)
HSVhsv(252, 58%, 47%)
CMYKcmyk(45.8%, 57.5%, 0%, 52.9%)
CIE-LABlab(26.30, 24.78, -37.54)
CIE-LCHlch(26.30, 44.98, 303.43°)
OKLaboklab(37.48% 0.037 -0.1069)
OKLCHoklch(37.48% 0.113 289.1)
XYZxyz(6.7530, 4.8473, 18.3455)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413378 #6A7833
analogous
#334778 #413378 #633378
triadic
#413378 #784133 #337841
tetradic
#413378 #783347 #6A7833 #337863
square
#413378 #783347 #6A7833 #337863
split-complementary
#413378 #786333 #477833
monochromatic
#120E22 #2A214D #413378 #5845A3 #7967BE

Accessibility & contrast

On white

10.66
#413378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413378
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413378#FFFFFF#000000##FFFFFF
##4133781.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#103D76
Tritanopia (blue-blind)
#314250
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413378;
/* rgb */ color: rgb(65, 51, 120);
/* oklch */ color: oklch(37.5% 0.113 289.1);
Tailwind
colors: {
  custom: {
    50: '#7a6b9f',
    500: '#413378',
    950: '#000000',
  },
}
SCSS
$custom: #413378;
$custom-light: #7a6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#413378",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 252.174,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.11312,
    "h": 289.1
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#413378
secondary
#98A660
accent
#D058B8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413378

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

Preview Lab → · Contrast checker → · Palette generator →

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