#403169#403169

#403169 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.9% C 0.094 H 293.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#403169
RGBrgb(64, 49, 105)
HSLhsl(256, 36%, 30%)
HSVhsv(256, 53%, 41%)
CMYKcmyk(39%, 53.3%, 0%, 58.8%)
CIE-LABlab(24.66, 21.16, -30.58)
CIE-LCHlch(24.66, 37.18, 304.68°)
OKLaboklab(35.92% 0.0375 -0.0865)
OKLCHoklch(35.92% 0.094 293.4)
XYZxyz(5.7618, 4.3064, 13.8895)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403169 #5A6931
analogous
#313E69 #403169 #5C3169
triadic
#403169 #694031 #316940
tetradic
#403169 #69313E #5A6931 #31695C
square
#403169 #69313E #5A6931 #31695C
split-complementary
#403169 #695C31 #3E6931
monochromatic
#0D0A16 #271E3F #403169 #594493 #7660B5

Accessibility & contrast

On white

11.28
#403169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#403169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403169
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403169#FFFFFF#000000##FFFFFF
##4031691.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6B
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#363C48
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403169;
/* rgb */ color: rgb(64, 49, 105);
/* oklch */ color: oklch(35.9% 0.094 293.4);
Tailwind
colors: {
  custom: {
    50: '#776994',
    500: '#403169',
    950: '#000000',
  },
}
SCSS
$custom: #403169;
$custom-light: #776994;
$custom-dark: #000000;
JSON
{
  "hex": "#403169",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 105
  },
  "hsl": {
    "h": 256.071,
    "s": 36.364,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.09425,
    "h": 293.4
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#403169
secondary
#899A5C
accent
#CC5BAE
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #403169

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

Preview Lab → · Contrast checker → · Palette generator →

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