#4C347E#4C347E

#4C347E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.2% C 0.120 H 295.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4C347E
RGBrgb(76, 52, 126)
HSLhsl(259, 42%, 35%)
HSVhsv(259, 59%, 49%)
CMYKcmyk(39.7%, 58.7%, 0%, 50.6%)
CIE-LABlab(28.11, 28.75, -38.34)
CIE-LCHlch(28.11, 47.92, 306.86°)
OKLaboklab(39.23% 0.0513 -0.1089)
OKLCHoklch(39.23% 0.12 295.2)
XYZxyz(7.9734, 5.4987, 20.3759)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C347E #667E34
analogous
#34417E #4C347E #71347E
triadic
#4C347E #7E4C34 #347E4C
tetradic
#4C347E #7E3441 #667E34 #347E71
square
#4C347E #7E3441 #667E34 #347E71
split-complementary
#4C347E #7E7134 #417E34
monochromatic
#181027 #322253 #4C347E #6646A9 #876BC2

Accessibility & contrast

On white

10.00
#4C347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C347E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C347E#FFFFFF#000000##FFFFFF
##4C347E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#404453
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c347e;
/* rgb */ color: rgb(76, 52, 126);
/* oklch */ color: oklch(39.2% 0.120 295.2);
Tailwind
colors: {
  custom: {
    50: '#826ca4',
    500: '#4c347e',
    950: '#000000',
  },
}
SCSS
$custom: #4c347e;
$custom-light: #826ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c347e",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 259.459,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.12038,
    "h": 295.2
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#4C347E
secondary
#93AA64
accent
#D156AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C347E

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

Preview Lab → · Contrast checker → · Palette generator →

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