#4C347A#4C347A

#4C347A is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.9% C 0.115 H 296.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4C347A
RGBrgb(76, 52, 122)
HSLhsl(261, 40%, 34%)
HSVhsv(261, 57%, 48%)
CMYKcmyk(37.7%, 57.4%, 0%, 52.2%)
CIE-LABlab(27.84, 27.58, -36.26)
CIE-LCHlch(27.84, 45.56, 307.25°)
OKLaboklab(38.94% 0.0513 -0.1028)
OKLCHoklch(38.94% 0.115 296.5)
XYZxyz(7.7204, 5.3975, 19.0436)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C347A #627A34
analogous
#343F7A #4C347A #6F347A
triadic
#4C347A #7A4C34 #347A4C
tetradic
#4C347A #7A343F #627A34 #347A6F
square
#4C347A #7A343F #627A34 #347A6F
split-complementary
#4C347A #7A6F34 #3F7A34
monochromatic
#170F24 #31224F #4C347A #6746A5 #8769BF

Accessibility & contrast

On white

10.10
#4C347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C347A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C347A#FFFFFF#000000##FFFFFF
##4C347A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#414251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c347a;
/* rgb */ color: rgb(76, 52, 122);
/* oklch */ color: oklch(38.9% 0.115 296.5);
Tailwind
colors: {
  custom: {
    50: '#816ca1',
    500: '#4c347a',
    950: '#000000',
  },
}
SCSS
$custom: #4c347a;
$custom-light: #816ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c347a",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 260.571,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38944,
    "c": 0.11484,
    "h": 296.5
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#4C347A
secondary
#90A763
accent
#D058A7
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4C347A

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

Preview Lab → · Contrast checker → · Palette generator →

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