#4A3E52#4A3E52

#4A3E52 is a dark, muted violet. Relative luminance 0.055; OKLCH L 38.4% C 0.037 H 311.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4A3E52
RGBrgb(74, 62, 82)
HSLhsl(276, 14%, 28%)
HSVhsv(276, 24%, 32%)
CMYKcmyk(9.8%, 24.4%, 0%, 67.8%)
CIE-LABlab(28.14, 9.58, -10.12)
CIE-LCHlch(28.14, 13.94, 313.45°)
OKLaboklab(38.42% 0.0244 -0.0274)
OKLCHoklch(38.42% 0.037 311.6)
XYZxyz(6.0694, 5.5103, 8.7249)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3E52 #46523E
analogous
#403E52 #4A3E52 #523E50
triadic
#4A3E52 #524A3E #3E524A
tetradic
#4A3E52 #52403E #46523E #3E5052
square
#4A3E52 #52403E #46523E #3E5052
split-complementary
#4A3E52 #50523E #3E5240
monochromatic
#100D11 #2B242F #4A3E52 #695875 #897496

Accessibility & contrast

On white

9.99
#4A3E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A3E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3E52
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3E52#FFFFFF#000000##FFFFFF
##4A3E521.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#3D4351
Tritanopia (blue-blind)
#494045
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a3e52;
/* rgb */ color: rgb(74, 62, 82);
/* oklch */ color: oklch(38.4% 0.037 311.6);
Tailwind
colors: {
  custom: {
    50: '#7c7382',
    500: '#4a3e52',
    950: '#000000',
  },
}
SCSS
$custom: #4a3e52;
$custom-light: #7c7382;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3e52",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 82
  },
  "hsl": {
    "h": 276,
    "s": 13.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.03673,
    "h": 311.6
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#4A3E52
secondary
#74816A
accent
#B7718D
background
#F7F6F7
surface
#EEECEE
border
#C9C7C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #4A3E52

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

Preview Lab → · Contrast checker → · Palette generator →

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