#413A5F#413A5F

#413A5F is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.3% C 0.063 H 291.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#413A5F
RGBrgb(65, 58, 95)
HSLhsl(251, 24%, 30%)
HSVhsv(251, 39%, 37%)
CMYKcmyk(31.6%, 38.9%, 0%, 62.7%)
CIE-LABlab(26.67, 12.47, -20.93)
CIE-LCHlch(26.67, 24.36, 300.79°)
OKLaboklab(37.27% 0.0233 -0.0583)
OKLCHoklch(37.27% 0.063 291.7)
XYZxyz(5.7581, 4.9760, 11.4814)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A5F #585F3A
analogous
#3A465F #413A5F #533A5F
triadic
#413A5F #5F413A #3A5F41
tetradic
#413A5F #5F3A46 #585F3A #3A5F53
square
#413A5F #5F3A46 #585F3A #3A5F53
split-complementary
#413A5F #5F533A #465F3A
monochromatic
#0D0C13 #272339 #413A5F #5B5185 #786DA6

Accessibility & contrast

On white

10.53
#413A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#413A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A5F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A5F#FFFFFF#000000##FFFFFF
##413A5F1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304060
Deuteranopia (green-blind)
#303E5E
Tritanopia (blue-blind)
#3A4148
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413a5f;
/* rgb */ color: rgb(65, 58, 95);
/* oklch */ color: oklch(37.3% 0.063 291.7);
Tailwind
colors: {
  custom: {
    50: '#76708c',
    500: '#413a5f',
    950: '#000000',
  },
}
SCSS
$custom: #413a5f;
$custom-light: #76708c;
$custom-dark: #000000;
JSON
{
  "hex": "#413a5f",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 251.351,
    "s": 24.183,
    "l": 30
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.0628,
    "h": 291.7
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#413A5F
secondary
#878F66
accent
#C167B0
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08070C
muted
#7B7A7D

Preview Lab

Preview with #413A5F

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

Preview Lab → · Contrast checker → · Palette generator →

#413A5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva