#413366#413366

#413366 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.2% C 0.086 H 294.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#413366
RGBrgb(65, 51, 102)
HSLhsl(256, 33%, 30%)
HSVhsv(256, 50%, 40%)
CMYKcmyk(36.3%, 50%, 0%, 60%)
CIE-LABlab(25.11, 19.22, -27.92)
CIE-LCHlch(25.11, 33.89, 304.55°)
OKLaboklab(36.22% 0.0356 -0.0787)
OKLCHoklch(36.22% 0.086 294.3)
XYZxyz(5.7615, 4.4507, 13.1233)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413366 #586633
analogous
#333E66 #413366 #5B3366
triadic
#413366 #664133 #336641
tetradic
#413366 #66333E #586633 #33665B
square
#413366 #66333E #586633 #33665B
split-complementary
#413366 #665B33 #3E6633
monochromatic
#0D0A14 #271F3D #413366 #5B478F #7863B1

Accessibility & contrast

On white

11.11
#413366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#413366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413366
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413366#FFFFFF#000000##FFFFFF
##4133661.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#383D47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #413366;
/* rgb */ color: rgb(65, 51, 102);
/* oklch */ color: oklch(36.2% 0.086 294.3);
Tailwind
colors: {
  custom: {
    50: '#786b92',
    500: '#413366',
    950: '#000000',
  },
}
SCSS
$custom: #413366;
$custom-light: #786b92;
$custom-dark: #000000;
JSON
{
  "hex": "#413366",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 256.471,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.36217,
    "c": 0.08633,
    "h": 294.3
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#413366
secondary
#87975E
accent
#C95EAC
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413366

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

Preview Lab → · Contrast checker → · Palette generator →

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