#4C366C#4C366C

#4C366C is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.092 H 301.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4C366C
RGBrgb(76, 54, 108)
HSLhsl(264, 33%, 32%)
HSVhsv(264, 50%, 42%)
CMYKcmyk(29.6%, 50%, 0%, 57.6%)
CIE-LABlab(27.46, 22.33, -27.98)
CIE-LCHlch(27.46, 35.80, 308.59°)
OKLaboklab(38.38% 0.0472 -0.0785)
OKLCHoklch(38.38% 0.092 301)
XYZxyz(7.0058, 5.2575, 14.8302)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C366C #566C36
analogous
#363B6C #4C366C #67366C
triadic
#4C366C #6C4C36 #366C4C
tetradic
#4C366C #6C363B #566C36 #366C67
square
#4C366C #6C363B #566C36 #366C67
split-complementary
#4C366C #6C6736 #3B6C36
monochromatic
#130D1A #2F2243 #4C366C #694A95 #8769B4

Accessibility & contrast

On white

10.24
#4C366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C366C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C366C#FFFFFF#000000##FFFFFF
##4C366C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#2B416B
Tritanopia (blue-blind)
#46404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c366c;
/* rgb */ color: rgb(76, 54, 108);
/* oklch */ color: oklch(38.4% 0.092 301.0);
Tailwind
colors: {
  custom: {
    50: '#806d96',
    500: '#4c366c',
    950: '#000000',
  },
}
SCSS
$custom: #4c366c;
$custom-light: #806d96;
$custom-dark: #000000;
JSON
{
  "hex": "#4c366c",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 264.444,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.0916,
    "h": 301
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#4C366C
secondary
#849D61
accent
#C95E9E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4C366C

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

Preview Lab → · Contrast checker → · Palette generator →

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