#403667#403667

#403667 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 36.8% C 0.083 H 291.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#403667
RGBrgb(64, 54, 103)
HSLhsl(252, 31%, 31%)
HSVhsv(252, 48%, 40%)
CMYKcmyk(37.9%, 47.6%, 0%, 59.6%)
CIE-LABlab(25.88, 17.23, -27.34)
CIE-LCHlch(25.88, 32.31, 302.22°)
OKLaboklab(36.8% 0.0298 -0.077)
OKLCHoklch(36.8% 0.083 291.2)
XYZxyz(5.8811, 4.7075, 13.4281)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403667 #5D6736
analogous
#364467 #403667 #583667
triadic
#403667 #674036 #366740
tetradic
#403667 #673644 #5D6736 #366758
square
#403667 #673644 #5D6736 #366758
split-complementary
#403667 #675836 #446736
monochromatic
#0E0C17 #27213F #403667 #594B8F #7668B0

Accessibility & contrast

On white

10.82
#403667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403667
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403667#FFFFFF#000000##FFFFFF
##4036671.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#263C66
Tritanopia (blue-blind)
#363F49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403667;
/* rgb */ color: rgb(64, 54, 103);
/* oklch */ color: oklch(36.8% 0.083 291.2);
Tailwind
colors: {
  custom: {
    50: '#776d92',
    500: '#403667',
    950: '#000000',
  },
}
SCSS
$custom: #403667;
$custom-light: #776d92;
$custom-dark: #000000;
JSON
{
  "hex": "#403667",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 103
  },
  "hsl": {
    "h": 252.245,
    "s": 31.21,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.08256,
    "h": 291.2
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#403667
secondary
#8C9861
accent
#C760B2
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #403667

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

Preview Lab → · Contrast checker → · Palette generator →

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