#4C347C#4C347C

#4C347C is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.1% C 0.118 H 295.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4C347C
RGBrgb(76, 52, 124)
HSLhsl(260, 41%, 35%)
HSVhsv(260, 58%, 49%)
CMYKcmyk(38.7%, 58.1%, 0%, 51.4%)
CIE-LABlab(27.97, 28.16, -37.31)
CIE-LCHlch(27.97, 46.74, 307.05°)
OKLaboklab(39.09% 0.0513 -0.1058)
OKLCHoklch(39.09% 0.118 295.9)
XYZxyz(7.8456, 5.4476, 19.7030)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C347C #647C34
analogous
#34407C #4C347C #70347C
triadic
#4C347C #7C4C34 #347C4C
tetradic
#4C347C #7C3440 #647C34 #347C70
square
#4C347C #7C3440 #647C34 #347C70
split-complementary
#4C347C #7C7034 #407C34
monochromatic
#171026 #322251 #4C347C #6646A7 #876AC0

Accessibility & contrast

On white

10.05
#4C347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C347C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C347C#FFFFFF#000000##FFFFFF
##4C347C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427E
Deuteranopia (green-blind)
#1A417A
Tritanopia (blue-blind)
#414352
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c347c;
/* rgb */ color: rgb(76, 52, 124);
/* oklch */ color: oklch(39.1% 0.118 295.9);
Tailwind
colors: {
  custom: {
    50: '#816ca2',
    500: '#4c347c',
    950: '#000000',
  },
}
SCSS
$custom: #4c347c;
$custom-light: #816ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c347c",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 260,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.11762,
    "h": 295.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#4C347C
secondary
#91A963
accent
#D157A8
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C347C

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

Preview Lab → · Contrast checker → · Palette generator →

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