#4C3C8A#4C3C8A

#4C3C8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.5% C 0.125 H 289.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4C3C8A
RGBrgb(76, 60, 138)
HSLhsl(252, 39%, 39%)
HSVhsv(252, 57%, 54%)
CMYKcmyk(44.9%, 56.5%, 0%, 45.9%)
CIE-LABlab(30.89, 27.34, -41.35)
CIE-LCHlch(30.89, 49.57, 303.46°)
OKLaboklab(41.55% 0.0411 -0.1177)
OKLCHoklch(41.55% 0.125 289.3)
XYZxyz(9.1825, 6.6029, 24.8305)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3C8A #7A8A3C
analogous
#3C538A #4C3C8A #733C8A
triadic
#4C3C8A #8A4C3C #3C8A4C
tetradic
#4C3C8A #8A3C53 #7A8A3C #3C8A73
square
#4C3C8A #8A3C53 #7A8A3C #3C8A73
split-complementary
#4C3C8A #8A733C #538A3C
monochromatic
#1D1735 #35295F #4C3C8A #6450B3 #8A7BC6

Accessibility & contrast

On white

9.05
#4C3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4C3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3C8A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3C8A#FFFFFF#000000##FFFFFF
##4C3C8A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#3A4D5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c3c8a;
/* rgb */ color: rgb(76, 60, 138);
/* oklch */ color: oklch(41.5% 0.125 289.3);
Tailwind
colors: {
  custom: {
    50: '#8272ad',
    500: '#4c3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4c3c8a;
$custom-light: #8272ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3c8a",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 252.308,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.12469,
    "h": 289.3
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#4C3C8A
secondary
#A3AF73
accent
#CF59B7
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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