#413379#413379

#413379 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.6% C 0.115 H 288.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#413379
RGBrgb(65, 51, 121)
HSLhsl(252, 41%, 34%)
HSVhsv(252, 58%, 47%)
CMYKcmyk(46.3%, 57.9%, 0%, 52.5%)
CIE-LABlab(26.37, 25.10, -38.06)
CIE-LCHlch(26.37, 45.59, 303.40°)
OKLaboklab(37.56% 0.037 -0.1084)
OKLCHoklch(37.56% 0.115 288.9)
XYZxyz(6.8140, 4.8717, 18.6668)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413379 #6B7933
analogous
#334879 #413379 #643379
triadic
#413379 #794133 #337941
tetradic
#413379 #793348 #6B7933 #337964
square
#413379 #793348 #6B7933 #337964
split-complementary
#413379 #796433 #487933
monochromatic
#130F23 #2A214E #413379 #5845A4 #7967BF

Accessibility & contrast

On white

10.64
#413379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413379
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413379#FFFFFF#000000##FFFFFF
##4133791.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#0E3D77
Tritanopia (blue-blind)
#304250
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413379;
/* rgb */ color: rgb(65, 51, 121);
/* oklch */ color: oklch(37.6% 0.115 288.9);
Tailwind
colors: {
  custom: {
    50: '#7a6ba0',
    500: '#413379',
    950: '#000000',
  },
}
SCSS
$custom: #413379;
$custom-light: #7a6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#413379",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 252,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.11456,
    "h": 288.9
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#413379
secondary
#99A761
accent
#D157B8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #413379

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

Preview Lab → · Contrast checker → · Palette generator →

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