#403250#403250

#403250 is a dark, muted violet. Relative luminance 0.040; OKLCH L 34.6% C 0.054 H 305.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#403250
RGBrgb(64, 50, 80)
HSLhsl(268, 23%, 25%)
HSVhsv(268, 38%, 31%)
CMYKcmyk(20%, 37.5%, 0%, 68.6%)
CIE-LABlab(23.51, 13.27, -16.01)
CIE-LCHlch(23.51, 20.79, 309.65°)
OKLaboklab(34.58% 0.0311 -0.0442)
OKLCHoklch(34.58% 0.054 305.1)
XYZxyz(4.7026, 3.9504, 8.1026)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403250 #425032
analogous
#323350 #403250 #4F3250
triadic
#403250 #504032 #325040
tetradic
#403250 #503233 #425032 #32504F
square
#403250 #503233 #425032 #32504F
split-complementary
#403250 #504F32 #335032
monochromatic
#0F0C13 #221A2A #403250 #5E4A76 #7C619B

Accessibility & contrast

On white

11.73
#403250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403250
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403250#FFFFFF#000000##FFFFFF
##4032501.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#3E363D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403250;
/* rgb */ color: rgb(64, 50, 80);
/* oklch */ color: oklch(34.6% 0.054 305.1);
Tailwind
colors: {
  custom: {
    50: '#756a81',
    500: '#403250',
    950: '#000000',
  },
}
SCSS
$custom: #403250;
$custom-light: #756a81;
$custom-dark: #000000;
JSON
{
  "hex": "#403250",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 80
  },
  "hsl": {
    "h": 268,
    "s": 23.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34582,
    "c": 0.05404,
    "h": 305.1
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#403250
secondary
#70815D
accent
#C06897
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #403250

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

Preview Lab → · Contrast checker → · Palette generator →

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