#4C349B#4C349B

#4C349B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.159 H 288.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4C349B
RGBrgb(76, 52, 155)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 66%, 61%)
CMYKcmyk(51%, 66.5%, 0%, 39.2%)
CIE-LABlab(30.30, 37.44, -52.73)
CIE-LCHlch(30.30, 64.67, 305.38°)
OKLaboklab(41.52% 0.0495 -0.1512)
OKLCHoklch(41.52% 0.159 288.1)
XYZxyz(10.1232, 6.3586, 31.6979)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C349B #839B34
analogous
#344F9B #4C349B #7F349B
triadic
#4C349B #9B4C34 #349B4C
tetradic
#4C349B #9B344F #839B34 #349B7F
square
#4C349B #9B344F #839B34 #349B7F
split-complementary
#4C349B #9B7F34 #4F9B34
monochromatic
#1F153F #36256D #4C349B #664AC2 #8D78D2

Accessibility & contrast

On white

9.24
#4C349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C349B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C349B#FFFFFF#000000##FFFFFF
##4C349B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#304D63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c349b;
/* rgb */ color: rgb(76, 52, 155);
/* oklch */ color: oklch(41.5% 0.159 288.1);
Tailwind
colors: {
  custom: {
    50: '#856db9',
    500: '#4c349b',
    950: '#000000',
  },
}
SCSS
$custom: #4c349b;
$custom-light: #856db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c349b",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 253.981,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.15908,
    "h": 288.1
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#4C349B
secondary
#A9BA71
accent
#D94FB9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4C349B

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

Preview Lab → · Contrast checker → · Palette generator →

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