#4A405A#4A405A

#4A405A is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.2% C 0.045 H 302.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4A405A
RGBrgb(74, 64, 90)
HSLhsl(263, 17%, 30%)
HSVhsv(263, 29%, 35%)
CMYKcmyk(17.8%, 28.9%, 0%, 64.7%)
CIE-LABlab(29.06, 10.28, -13.91)
CIE-LCHlch(29.06, 17.30, 306.46°)
OKLaboklab(39.24% 0.0238 -0.0381)
OKLCHoklch(39.24% 0.045 302)
XYZxyz(6.5025, 5.8608, 10.4596)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A405A #505A40
analogous
#40435A #4A405A #57405A
triadic
#4A405A #5A4A40 #405A4A
tetradic
#4A405A #5A4043 #505A40 #405A57
square
#4A405A #5A4043 #505A40 #405A57
split-complementary
#4A405A #5A5740 #435A40
monochromatic
#0F0D12 #2D2736 #4A405A #67597E #86769E

Accessibility & contrast

On white

9.67
#4A405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A405A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A405A#FFFFFF#000000##FFFFFF
##4A405A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B445B
Deuteranopia (green-blind)
#3D4459
Tritanopia (blue-blind)
#474449
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a405a;
/* rgb */ color: rgb(74, 64, 90);
/* oklch */ color: oklch(39.2% 0.045 302.0);
Tailwind
colors: {
  custom: {
    50: '#7d7488',
    500: '#4a405a',
    950: '#000000',
  },
}
SCSS
$custom: #4a405a;
$custom-light: #7d7488;
$custom-dark: #000000;
JSON
{
  "hex": "#4a405a",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 263.077,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.04494,
    "h": 302
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#4A405A
secondary
#7E896C
accent
#BA6E9D
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #4A405A

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

Preview Lab → · Contrast checker → · Palette generator →

#4A405A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva