#413266#413266

#413266 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.0% C 0.088 H 294.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#413266
RGBrgb(65, 50, 102)
HSLhsl(257, 34%, 30%)
HSVhsv(257, 51%, 40%)
CMYKcmyk(36.3%, 51%, 0%, 60%)
CIE-LABlab(24.84, 19.88, -28.34)
CIE-LCHlch(24.84, 34.62, 305.05°)
OKLaboklab(36.02% 0.0371 -0.0799)
OKLCHoklch(36.02% 0.088 294.9)
XYZxyz(5.7182, 4.3642, 13.1089)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413266 #576632
analogous
#323D66 #413266 #5B3266
triadic
#413266 #664132 #326641
tetradic
#413266 #66323D #576632 #32665B
square
#413266 #66323D #576632 #32665B
split-complementary
#413266 #665B32 #3D6632
monochromatic
#0D0A15 #271E3D #413266 #5B468F #7861B2

Accessibility & contrast

On white

11.21
#413266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#413266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413266
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413266#FFFFFF#000000##FFFFFF
##4132661.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#383C47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #413266;
/* rgb */ color: rgb(65, 50, 102);
/* oklch */ color: oklch(36.0% 0.088 294.9);
Tailwind
colors: {
  custom: {
    50: '#786a92',
    500: '#413266',
    950: '#000000',
  },
}
SCSS
$custom: #413266;
$custom-light: #786a92;
$custom-dark: #000000;
JSON
{
  "hex": "#413266",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 257.308,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.08808,
    "h": 294.9
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#413266
secondary
#86975D
accent
#CA5EAB
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413266

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

Preview Lab → · Contrast checker → · Palette generator →

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