#403267#403267

#403267 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.090 H 293.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#403267
RGBrgb(64, 50, 103)
HSLhsl(256, 35%, 30%)
HSVhsv(256, 51%, 40%)
CMYKcmyk(37.9%, 51.5%, 0%, 59.6%)
CIE-LABlab(24.80, 19.89, -29.06)
CIE-LCHlch(24.80, 35.22, 304.38°)
OKLaboklab(35.98% 0.0358 -0.082)
OKLCHoklch(35.98% 0.09 293.6)
XYZxyz(5.7025, 4.3503, 13.3686)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403267 #596732
analogous
#323E67 #403267 #5B3267
triadic
#403267 #674032 #326740
tetradic
#403267 #67323E #596732 #32675B
square
#403267 #67323E #596732 #32675B
split-complementary
#403267 #675B32 #3E6732
monochromatic
#0D0A15 #261E3E #403267 #5A4690 #7761B2

Accessibility & contrast

On white

11.23
#403267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403267
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403267#FFFFFF#000000##FFFFFF
##4032671.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B69
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#373C47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403267;
/* rgb */ color: rgb(64, 50, 103);
/* oklch */ color: oklch(36.0% 0.090 293.6);
Tailwind
colors: {
  custom: {
    50: '#776a93',
    500: '#403267',
    950: '#000000',
  },
}
SCSS
$custom: #403267;
$custom-light: #776a93;
$custom-dark: #000000;
JSON
{
  "hex": "#403267",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 103
  },
  "hsl": {
    "h": 255.849,
    "s": 34.641,
    "l": 30
  },
  "oklch": {
    "l": 0.35979,
    "c": 0.08951,
    "h": 293.6
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#403267
secondary
#88985D
accent
#CB5DAE
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #403267

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

Preview Lab → · Contrast checker → · Palette generator →

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