#4A3C8A#4A3C8A

#4A3C8A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.4% C 0.125 H 287.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4A3C8A
RGBrgb(74, 60, 138)
HSLhsl(251, 39%, 39%)
HSVhsv(251, 57%, 54%)
CMYKcmyk(46.4%, 56.5%, 0%, 45.9%)
CIE-LABlab(30.69, 26.85, -41.67)
CIE-LCHlch(30.69, 49.57, 302.79°)
OKLaboklab(41.36% 0.0384 -0.1187)
OKLCHoklch(41.36% 0.125 287.9)
XYZxyz(9.0260, 6.5222, 24.8232)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3C8A #7C8A3C
analogous
#3C558A #4A3C8A #713C8A
triadic
#4A3C8A #8A4A3C #3C8A4A
tetradic
#4A3C8A #8A3C55 #7C8A3C #3C8A71
square
#4A3C8A #8A3C55 #7C8A3C #3C8A71
split-complementary
#4A3C8A #8A713C #558A3C
monochromatic
#1C1735 #33295F #4A3C8A #6250B3 #887BC6

Accessibility & contrast

On white

9.11
#4A3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3C8A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3C8A#FFFFFF#000000##FFFFFF
##4A3C8A1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#364D5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a3c8a;
/* rgb */ color: rgb(74, 60, 138);
/* oklch */ color: oklch(41.4% 0.125 287.9);
Tailwind
colors: {
  custom: {
    50: '#8172ad',
    500: '#4a3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a3c8a;
$custom-light: #8172ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3c8a",
  "rgb": {
    "r": 74,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 250.769,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.12477,
    "h": 287.9
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#4A3C8A
secondary
#A4AF73
accent
#CF59BA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4A3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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