#413362#413362

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

Color values

HEX#413362
RGBrgb(65, 51, 98)
HSLhsl(258, 32%, 29%)
HSVhsv(258, 48%, 38%)
CMYKcmyk(33.7%, 48%, 0%, 61.6%)
CIE-LABlab(24.87, 18.03, -25.70)
CIE-LCHlch(24.87, 31.39, 305.05°)
OKLaboklab(35.96% 0.035 -0.0722)
OKLCHoklch(35.96% 0.08 295.8)
XYZxyz(5.5679, 4.3732, 12.1037)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413362 #546233
analogous
#333D62 #413362 #593362
triadic
#413362 #624133 #336241
tetradic
#413362 #62333D #546233 #336259
square
#413362 #62333D #546233 #336259
split-complementary
#413362 #625933 #3D6233
monochromatic
#0D0A14 #261E3A #413362 #5C488A #7862AD

Accessibility & contrast

On white

11.20
#413362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413362
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413362#FFFFFF#000000##FFFFFF
##4133621.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#273A61
Tritanopia (blue-blind)
#3A3C45
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #413362;
/* rgb */ color: rgb(65, 51, 98);
/* oklch */ color: oklch(36.0% 0.080 295.8);
Tailwind
colors: {
  custom: {
    50: '#776b8f',
    500: '#413362',
    950: '#000000',
  },
}
SCSS
$custom: #413362;
$custom-light: #776b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#413362",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 257.872,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.08021,
    "h": 295.8
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#413362
secondary
#83935E
accent
#C860A9
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #413362

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

Preview Lab → · Contrast checker → · Palette generator →

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