#413368#413368

#413368 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.3% C 0.089 H 293.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#413368
RGBrgb(65, 51, 104)
HSLhsl(256, 34%, 30%)
HSVhsv(256, 51%, 41%)
CMYKcmyk(37.5%, 51%, 0%, 59.2%)
CIE-LABlab(25.23, 19.82, -29.01)
CIE-LCHlch(25.23, 35.14, 304.34°)
OKLaboklab(36.35% 0.0358 -0.0819)
OKLCHoklch(36.35% 0.089 293.6)
XYZxyz(5.8618, 4.4908, 13.6520)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413368 #5A6833
analogous
#333F68 #413368 #5B3368
triadic
#413368 #684133 #336841
tetradic
#413368 #68333F #5A6833 #33685B
square
#413368 #68333F #5A6833 #33685B
split-complementary
#413368 #685B33 #3F6833
monochromatic
#0E0B16 #271F3F #413368 #5B4791 #7863B2

Accessibility & contrast

On white

11.06
#413368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#413368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413368
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413368#FFFFFF#000000##FFFFFF
##4133681.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#223B67
Tritanopia (blue-blind)
#383D48
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #413368;
/* rgb */ color: rgb(65, 51, 104);
/* oklch */ color: oklch(36.3% 0.089 293.6);
Tailwind
colors: {
  custom: {
    50: '#786b93',
    500: '#413368',
    950: '#000000',
  },
}
SCSS
$custom: #413368;
$custom-light: #786b93;
$custom-dark: #000000;
JSON
{
  "hex": "#413368",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 255.849,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.08936,
    "h": 293.6
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#413368
secondary
#89995E
accent
#CA5EAE
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413368

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

Preview Lab → · Contrast checker → · Palette generator →

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