#4C349A#4C349A

#4C349A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.158 H 288.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4C349A
RGBrgb(76, 52, 154)
HSLhsl(254, 50%, 40%)
HSVhsv(254, 66%, 60%)
CMYKcmyk(50.6%, 66.2%, 0%, 39.6%)
CIE-LABlab(30.22, 37.14, -52.25)
CIE-LCHlch(30.22, 64.10, 305.40°)
OKLaboklab(41.44% 0.0497 -0.1498)
OKLCHoklch(41.44% 0.158 288.3)
XYZxyz(10.0395, 6.3251, 31.2575)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C349A #829A34
analogous
#344F9A #4C349A #7F349A
triadic
#4C349A #9A4C34 #349A4C
tetradic
#4C349A #9A344F #829A34 #349A7F
square
#4C349A #9A344F #829A34 #349A7F
split-complementary
#4C349A #9A7F34 #4F9A34
monochromatic
#1F153E #35256C #4C349A #6649C2 #8C77D1

Accessibility & contrast

On white

9.27
#4C349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C349A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C349A#FFFFFF#000000##FFFFFF
##4C349A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#314D62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c349a;
/* rgb */ color: rgb(76, 52, 154);
/* oklch */ color: oklch(41.4% 0.158 288.3);
Tailwind
colors: {
  custom: {
    50: '#856db9',
    500: '#4c349a',
    950: '#000000',
  },
}
SCSS
$custom: #4c349a;
$custom-light: #856db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c349a",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 254.118,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.15779,
    "h": 288.3
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#4C349A
secondary
#A8BA70
accent
#D94FB9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4C349A

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

Preview Lab → · Contrast checker → · Palette generator →

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