#4C366F#4C366F

#4C366F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.6% C 0.096 H 299.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4C366F
RGBrgb(76, 54, 111)
HSLhsl(263, 35%, 32%)
HSVhsv(263, 51%, 44%)
CMYKcmyk(31.5%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.63, 23.17, -29.61)
CIE-LCHlch(27.63, 37.60, 308.04°)
OKLaboklab(38.57% 0.0476 -0.0833)
OKLCHoklch(38.57% 0.096 299.7)
XYZxyz(7.1682, 5.3225, 15.6855)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C366F #596F36
analogous
#363D6F #4C366F #69366F
triadic
#4C366F #6F4C36 #366F4C
tetradic
#4C366F #6F363D #596F36 #366F69
square
#4C366F #6F363D #596F36 #366F69
split-complementary
#4C366F #6F6936 #3D6F36
monochromatic
#140E1D #302246 #4C366F #684A98 #8769B6

Accessibility & contrast

On white

10.17
#4C366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C366F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C366F#FFFFFF#000000##FFFFFF
##4C366F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#29416E
Tritanopia (blue-blind)
#45414D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c366f;
/* rgb */ color: rgb(76, 54, 111);
/* oklch */ color: oklch(38.6% 0.096 299.7);
Tailwind
colors: {
  custom: {
    50: '#806d98',
    500: '#4c366f',
    950: '#000000',
  },
}
SCSS
$custom: #4c366f;
$custom-light: #806d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4c366f",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 263.158,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.09591,
    "h": 299.7
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#4C366F
secondary
#879F62
accent
#CB5DA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4C366F

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

Preview Lab → · Contrast checker → · Palette generator →

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