#46405E#46405E

#46405E is a dark, muted violet. Relative luminance 0.058; OKLCH L 39.0% C 0.051 H 293.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#46405E
RGBrgb(70, 64, 94)
HSLhsl(252, 19%, 31%)
HSVhsv(252, 32%, 37%)
CMYKcmyk(25.5%, 31.9%, 0%, 63.1%)
CIE-LABlab(28.84, 9.91, -16.86)
CIE-LCHlch(28.84, 19.55, 300.44°)
OKLaboklab(39.04% 0.0198 -0.0466)
OKLCHoklch(39.04% 0.051 293.1)
XYZxyz(6.3791, 5.7770, 11.3665)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46405E #585E40
analogous
#40495E #46405E #55405E
triadic
#46405E #5E4640 #405E46
tetradic
#46405E #5E4049 #585E40 #405E55
square
#46405E #5E4049 #585E40 #405E55
split-complementary
#46405E #5E5540 #495E40
monochromatic
#100E15 #2B273A #46405E #615982 #7F76A2

Accessibility & contrast

On white

9.74
#46405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#46405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46405E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46405E#FFFFFF#000000##FFFFFF
##46405E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445F
Deuteranopia (green-blind)
#39435D
Tritanopia (blue-blind)
#41454B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #46405e;
/* rgb */ color: rgb(70, 64, 94);
/* oklch */ color: oklch(39.0% 0.051 293.1);
Tailwind
colors: {
  custom: {
    50: '#7a748b',
    500: '#46405e',
    950: '#000000',
  },
}
SCSS
$custom: #46405e;
$custom-light: #7a748b;
$custom-dark: #000000;
JSON
{
  "hex": "#46405e",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 252,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.05061,
    "h": 293.1
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#46405E
secondary
#878D6C
accent
#BC6CAC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#09080C
muted
#7B7B7D

Preview Lab

Preview with #46405E

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

Preview Lab → · Contrast checker → · Palette generator →

#46405E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva