#4C366B#4C366B

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

Color values

HEX#4C366B
RGBrgb(76, 54, 107)
HSLhsl(265, 33%, 32%)
HSVhsv(265, 50%, 42%)
CMYKcmyk(29%, 49.5%, 0%, 58%)
CIE-LABlab(27.40, 22.05, -27.43)
CIE-LCHlch(27.40, 35.19, 308.80°)
OKLaboklab(38.31% 0.047 -0.0769)
OKLCHoklch(38.31% 0.09 301.4)
XYZxyz(6.9529, 5.2364, 14.5515)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C366B #556B36
analogous
#363B6B #4C366B #67366B
triadic
#4C366B #6B4C36 #366B4C
tetradic
#4C366B #6B363B #556B36 #366B67
square
#4C366B #6B363B #556B36 #366B67
split-complementary
#4C366B #6B6736 #3B6B36
monochromatic
#120D1A #2F2142 #4C366B #694B94 #8768B3

Accessibility & contrast

On white

10.26
#4C366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C366B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C366B#FFFFFF#000000##FFFFFF
##4C366B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#2C406A
Tritanopia (blue-blind)
#463F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c366b;
/* rgb */ color: rgb(76, 54, 107);
/* oklch */ color: oklch(38.3% 0.090 301.4);
Tailwind
colors: {
  custom: {
    50: '#806d95',
    500: '#4c366b',
    950: '#000000',
  },
}
SCSS
$custom: #4c366b;
$custom-light: #806d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4c366b",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 264.906,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.09016,
    "h": 301.4
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#4C366B
secondary
#839C61
accent
#C95F9D
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4C366B

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

Preview Lab → · Contrast checker → · Palette generator →

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