#4C366E#4C366E

#4C366E is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.5% C 0.094 H 300.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4C366E
RGBrgb(76, 54, 110)
HSLhsl(264, 34%, 32%)
HSVhsv(264, 51%, 43%)
CMYKcmyk(30.9%, 50.9%, 0%, 56.9%)
CIE-LABlab(27.57, 22.89, -29.07)
CIE-LCHlch(27.57, 37.00, 308.22°)
OKLaboklab(38.5% 0.0474 -0.0817)
OKLCHoklch(38.5% 0.094 300.1)
XYZxyz(7.1135, 5.3006, 15.3972)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C366E #586E36
analogous
#363C6E #4C366E #68366E
triadic
#4C366E #6E4C36 #366E4C
tetradic
#4C366E #6E363C #586E36 #366E68
square
#4C366E #6E363C #586E36 #366E68
split-complementary
#4C366E #6E6836 #3C6E36
monochromatic
#130E1C #302245 #4C366E #684A97 #8769B5

Accessibility & contrast

On white

10.19
#4C366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C366E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C366E#FFFFFF#000000##FFFFFF
##4C366E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#45404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c366e;
/* rgb */ color: rgb(76, 54, 110);
/* oklch */ color: oklch(38.5% 0.094 300.1);
Tailwind
colors: {
  custom: {
    50: '#806d98',
    500: '#4c366e',
    950: '#000000',
  },
}
SCSS
$custom: #4c366e;
$custom-light: #806d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4c366e",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 263.571,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38503,
    "c": 0.09447,
    "h": 300.1
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#4C366E
secondary
#869E62
accent
#CA5EA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4C366E

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

Preview Lab → · Contrast checker → · Palette generator →

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