#413176#413176

#413176 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.0% C 0.113 H 290.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#413176
RGBrgb(65, 49, 118)
HSLhsl(254, 41%, 33%)
HSVhsv(254, 58%, 46%)
CMYKcmyk(44.9%, 58.5%, 0%, 53.7%)
CIE-LABlab(25.65, 25.45, -37.31)
CIE-LCHlch(25.65, 45.16, 304.29°)
OKLaboklab(36.96% 0.0396 -0.1062)
OKLCHoklch(36.96% 0.113 290.4)
XYZxyz(6.5474, 4.6282, 17.6844)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413176 #667631
analogous
#314376 #413176 #633176
triadic
#413176 #764131 #317641
tetradic
#413176 #763143 #667631 #317663
square
#413176 #763143 #667631 #317663
split-complementary
#413176 #766331 #437631
monochromatic
#110D20 #291F4B #413176 #5943A1 #7863BE

Accessibility & contrast

On white

10.91
#413176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#413176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413176
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413176#FFFFFF#000000##FFFFFF
##4131761.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E78
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#32404E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413176;
/* rgb */ color: rgb(65, 49, 118);
/* oklch */ color: oklch(37.0% 0.113 290.4);
Tailwind
colors: {
  custom: {
    50: '#7a699e',
    500: '#413176',
    950: '#000000',
  },
}
SCSS
$custom: #413176;
$custom-light: #7a699e;
$custom-dark: #000000;
JSON
{
  "hex": "#413176",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 253.913,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3696,
    "c": 0.11336,
    "h": 290.4
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#413176
secondary
#95A65D
accent
#D157B5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413176

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

Preview Lab → · Contrast checker → · Palette generator →

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