#413166#413166

#413166 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.8% C 0.090 H 295.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#413166
RGBrgb(65, 49, 102)
HSLhsl(258, 35%, 30%)
HSVhsv(258, 52%, 40%)
CMYKcmyk(36.3%, 52%, 0%, 60%)
CIE-LABlab(24.58, 20.54, -28.76)
CIE-LCHlch(24.58, 35.35, 305.53°)
OKLaboklab(35.82% 0.0386 -0.0811)
OKLCHoklch(35.82% 0.09 295.4)
XYZxyz(5.6760, 4.2797, 13.0948)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413166 #566631
analogous
#313C66 #413166 #5C3166
triadic
#413166 #664131 #316641
tetradic
#413166 #66313C #566631 #31665C
square
#413166 #66313C #566631 #31665C
split-complementary
#413166 #665C31 #3C6631
monochromatic
#0D0A15 #271D3D #413166 #5B458F #785FB2

Accessibility & contrast

On white

11.31
#413166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#413166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413166
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413166#FFFFFF#000000##FFFFFF
##4131661.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#393B46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413166;
/* rgb */ color: rgb(65, 49, 102);
/* oklch */ color: oklch(35.8% 0.090 295.4);
Tailwind
colors: {
  custom: {
    50: '#786992',
    500: '#413166',
    950: '#000000',
  },
}
SCSS
$custom: #413166;
$custom-light: #786992;
$custom-dark: #000000;
JSON
{
  "hex": "#413166",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 258.113,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35817,
    "c": 0.08984,
    "h": 295.4
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#413166
secondary
#85975C
accent
#CB5DAA
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413166

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

Preview Lab → · Contrast checker → · Palette generator →

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