#413173#413173

#413173 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.109 H 291.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#413173
RGBrgb(65, 49, 115)
HSLhsl(255, 40%, 32%)
HSVhsv(255, 57%, 45%)
CMYKcmyk(43.5%, 57.4%, 0%, 54.9%)
CIE-LABlab(25.44, 24.51, -35.74)
CIE-LCHlch(25.44, 43.34, 304.44°)
OKLaboklab(36.74% 0.0395 -0.1016)
OKLCHoklch(36.74% 0.109 291.3)
XYZxyz(6.3720, 4.5581, 16.7604)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413173 #637331
analogous
#314273 #413173 #623173
triadic
#413173 #734131 #317341
tetradic
#413173 #733142 #637331 #317362
square
#413173 #733142 #637331 #317362
split-complementary
#413173 #736231 #427331
monochromatic
#100C1D #291F48 #413173 #59439E #7862BC

Accessibility & contrast

On white

10.99
#413173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#413173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413173
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413173#FFFFFF#000000##FFFFFF
##4131731.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#143B72
Tritanopia (blue-blind)
#333F4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #413173;
/* rgb */ color: rgb(65, 49, 115);
/* oklch */ color: oklch(36.7% 0.109 291.3);
Tailwind
colors: {
  custom: {
    50: '#79699c',
    500: '#413173',
    950: '#000000',
  },
}
SCSS
$custom: #413173;
$custom-light: #79699c;
$custom-dark: #000000;
JSON
{
  "hex": "#413173",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 254.545,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.10902,
    "h": 291.3
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#413173
secondary
#92A45C
accent
#D058B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413173

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

Preview Lab → · Contrast checker → · Palette generator →

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