#403665#403665

#403665 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 36.7% C 0.079 H 291.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#403665
RGBrgb(64, 54, 101)
HSLhsl(253, 30%, 30%)
HSVhsv(253, 47%, 40%)
CMYKcmyk(36.6%, 46.5%, 0%, 60.4%)
CIE-LABlab(25.77, 16.62, -26.23)
CIE-LCHlch(25.77, 31.05, 302.35°)
OKLaboklab(36.67% 0.0295 -0.0738)
OKLCHoklch(36.67% 0.079 291.8)
XYZxyz(5.7819, 4.6678, 12.9057)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403665 #5B6536
analogous
#364365 #403665 #573665
triadic
#403665 #654036 #366540
tetradic
#403665 #653643 #5B6536 #366557
square
#403665 #653643 #5B6536 #366557
split-complementary
#403665 #655736 #436536
monochromatic
#0D0B15 #27213D #403665 #594B8D #7667AE

Accessibility & contrast

On white

10.86
#403665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403665
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403665#FFFFFF#000000##FFFFFF
##4036651.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E67
Deuteranopia (green-blind)
#283C64
Tritanopia (blue-blind)
#373F48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403665;
/* rgb */ color: rgb(64, 54, 101);
/* oklch */ color: oklch(36.7% 0.079 291.8);
Tailwind
colors: {
  custom: {
    50: '#776d91',
    500: '#403665',
    950: '#000000',
  },
}
SCSS
$custom: #403665;
$custom-light: #776d91;
$custom-dark: #000000;
JSON
{
  "hex": "#403665",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 101
  },
  "hsl": {
    "h": 252.766,
    "s": 30.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36668,
    "c": 0.07944,
    "h": 291.8
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#403665
secondary
#8A9661
accent
#C761B1
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09070D
muted
#7B7A7D

Preview Lab

Preview with #403665

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

Preview Lab → · Contrast checker → · Palette generator →

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