#403269#403269

#403269 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.1% C 0.093 H 292.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#403269
RGBrgb(64, 50, 105)
HSLhsl(255, 35%, 30%)
HSVhsv(255, 52%, 41%)
CMYKcmyk(39%, 52.4%, 0%, 58.8%)
CIE-LABlab(24.92, 20.50, -30.15)
CIE-LCHlch(24.92, 36.46, 304.21°)
OKLaboklab(36.11% 0.036 -0.0852)
OKLCHoklch(36.11% 0.093 292.9)
XYZxyz(5.8041, 4.3910, 13.9036)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403269 #5B6932
analogous
#323F69 #403269 #5B3269
triadic
#403269 #694032 #326940
tetradic
#403269 #69323F #5B6932 #32695B
square
#403269 #69323F #5B6932 #32695B
split-complementary
#403269 #695B32 #3F6932
monochromatic
#0D0B16 #271E40 #403269 #594692 #7661B4

Accessibility & contrast

On white

11.18
#403269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#403269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403269
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403269#FFFFFF#000000##FFFFFF
##4032691.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6B
Deuteranopia (green-blind)
#203A68
Tritanopia (blue-blind)
#363D48
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403269;
/* rgb */ color: rgb(64, 50, 105);
/* oklch */ color: oklch(36.1% 0.093 292.9);
Tailwind
colors: {
  custom: {
    50: '#776a94',
    500: '#403269',
    950: '#000000',
  },
}
SCSS
$custom: #403269;
$custom-light: #776a94;
$custom-dark: #000000;
JSON
{
  "hex": "#403269",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 105
  },
  "hsl": {
    "h": 255.273,
    "s": 35.484,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36114,
    "c": 0.09254,
    "h": 292.9
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#403269
secondary
#8A9A5D
accent
#CC5CAF
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #403269

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

Preview Lab → · Contrast checker → · Palette generator →

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