#403571#403571

#403571 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.3% C 0.100 H 289.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#403571
RGBrgb(64, 53, 113)
HSLhsl(251, 36%, 33%)
HSVhsv(251, 53%, 44%)
CMYKcmyk(43.4%, 53.1%, 0%, 55.7%)
CIE-LABlab(26.24, 21.00, -33.19)
CIE-LCHlch(26.24, 39.27, 302.33°)
OKLaboklab(37.27% 0.0325 -0.0941)
OKLCHoklch(37.27% 0.1 289.1)
XYZxyz(6.3673, 4.8282, 16.2160)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403571 #667135
analogous
#354871 #403571 #5E3571
triadic
#403571 #714035 #357140
tetradic
#403571 #713548 #667135 #35715E
square
#403571 #713548 #667135 #35715E
split-complementary
#403571 #715E35 #487135
monochromatic
#110E1E #282147 #403571 #58499B #7768B8

Accessibility & contrast

On white

10.68
#403571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#403571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403571
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403571#FFFFFF#000000##FFFFFF
##4035711.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#1C3D70
Tritanopia (blue-blind)
#32414D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403571;
/* rgb */ color: rgb(64, 53, 113);
/* oklch */ color: oklch(37.3% 0.100 289.1);
Tailwind
colors: {
  custom: {
    50: '#786c9a',
    500: '#403571',
    950: '#000000',
  },
}
SCSS
$custom: #403571;
$custom-light: #786c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#403571",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 251,
    "s": 36.145,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.09959,
    "h": 289.1
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#403571
secondary
#95A161
accent
#CC5CB8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403571

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

Preview Lab → · Contrast checker → · Palette generator →

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