#4C366A#4C366A

#4C366A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.089 H 301.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4C366A
RGBrgb(76, 54, 106)
HSLhsl(265, 33%, 31%)
HSVhsv(265, 49%, 42%)
CMYKcmyk(28.3%, 49.1%, 0%, 58.4%)
CIE-LABlab(27.34, 21.78, -26.88)
CIE-LCHlch(27.34, 34.59, 309.01°)
OKLaboklab(38.25% 0.0469 -0.0753)
OKLCHoklch(38.25% 0.089 301.9)
XYZxyz(6.9006, 5.2154, 14.2760)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C366A #546A36
analogous
#363A6A #4C366A #66366A
triadic
#4C366A #6A4C36 #366A4C
tetradic
#4C366A #6A363A #546A36 #366A66
square
#4C366A #6A363A #546A36 #366A66
split-complementary
#4C366A #6A6636 #3A6A36
monochromatic
#120D19 #2F2141 #4C366A #694B93 #8868B2

Accessibility & contrast

On white

10.28
#4C366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4C366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C366A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C366A#FFFFFF#000000##FFFFFF
##4C366A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#473F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c366a;
/* rgb */ color: rgb(76, 54, 106);
/* oklch */ color: oklch(38.3% 0.089 301.9);
Tailwind
colors: {
  custom: {
    50: '#7f6d95',
    500: '#4c366a',
    950: '#000000',
  },
}
SCSS
$custom: #4c366a;
$custom-light: #7f6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4c366a",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 265.385,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.08872,
    "h": 301.9
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#4C366A
secondary
#829B61
accent
#C95F9C
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4C366A

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

Preview Lab → · Contrast checker → · Palette generator →

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