#403246#403246

#403246 is a dark, muted purple. Relative luminance 0.038; OKLCH L 34.1% C 0.039 H 315.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#403246
RGBrgb(64, 50, 70)
HSLhsl(282, 17%, 24%)
HSVhsv(282, 29%, 27%)
CMYKcmyk(8.6%, 28.6%, 0%, 72.5%)
CIE-LABlab(23.05, 10.69, -10.03)
CIE-LCHlch(23.05, 14.66, 316.82°)
OKLaboklab(34.08% 0.0279 -0.0273)
OKLCHoklch(34.08% 0.039 315.6)
XYZxyz(4.3603, 3.8135, 6.2995)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403246 #384632
analogous
#363246 #403246 #463242
triadic
#403246 #464032 #324640
tetradic
#403246 #463632 #384632 #324246
square
#403246 #463632 #384632 #324246
split-complementary
#403246 #424632 #324636
monochromatic
#100D12 #1F1822 #403246 #614B6A #81658D

Accessibility & contrast

On white

11.91
#403246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#403246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403246
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403246#FFFFFF#000000##FFFFFF
##4032461.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#403439
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403246;
/* rgb */ color: rgb(64, 50, 70);
/* oklch */ color: oklch(34.1% 0.039 315.6);
Tailwind
colors: {
  custom: {
    50: '#756a79',
    500: '#403246',
    950: '#000000',
  },
}
SCSS
$custom: #403246;
$custom-light: #756a79;
$custom-dark: #000000;
JSON
{
  "hex": "#403246",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 70
  },
  "hsl": {
    "h": 282,
    "s": 16.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34076,
    "c": 0.03897,
    "h": 315.6
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#403246
secondary
#65765E
accent
#B96E85
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403246

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

Preview Lab → · Contrast checker → · Palette generator →

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