#4C367A#4C367A

#4C367A is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.112 H 295.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4C367A
RGBrgb(76, 54, 122)
HSLhsl(259, 39%, 35%)
HSVhsv(259, 56%, 48%)
CMYKcmyk(37.7%, 55.7%, 0%, 52.2%)
CIE-LABlab(28.33, 26.33, -35.48)
CIE-LCHlch(28.33, 44.18, 306.57°)
OKLaboklab(39.31% 0.0485 -0.1005)
OKLCHoklch(39.31% 0.112 295.8)
XYZxyz(7.8116, 5.5798, 19.0740)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C367A #647A36
analogous
#36427A #4C367A #6E367A
triadic
#4C367A #7A4C36 #367A4C
tetradic
#4C367A #7A3642 #647A36 #367A6E
square
#4C367A #7A3642 #647A36 #367A6E
split-complementary
#4C367A #7A6E36 #427A36
monochromatic
#171025 #322350 #4C367A #6649A4 #876CBE

Accessibility & contrast

On white

9.92
#4C367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4C367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C367A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C367A#FFFFFF#000000##FFFFFF
##4C367A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#1F4278
Tritanopia (blue-blind)
#414452
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c367a;
/* rgb */ color: rgb(76, 54, 122);
/* oklch */ color: oklch(39.3% 0.112 295.8);
Tailwind
colors: {
  custom: {
    50: '#816ea1',
    500: '#4c367a',
    950: '#000000',
  },
}
SCSS
$custom: #4c367a;
$custom-light: #816ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c367a",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 259.412,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.11157,
    "h": 295.8
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#4C367A
secondary
#91A765
accent
#CF59A9
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #4C367A

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

Preview Lab → · Contrast checker → · Palette generator →

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