#4C367D#4C367D

#4C367D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.116 H 294.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4C367D
RGBrgb(76, 54, 125)
HSLhsl(259, 40%, 35%)
HSVhsv(259, 57%, 49%)
CMYKcmyk(39.2%, 56.8%, 0%, 51%)
CIE-LABlab(28.53, 27.21, -37.05)
CIE-LCHlch(28.53, 45.97, 306.29°)
OKLaboklab(39.52% 0.0486 -0.1051)
OKLCHoklch(39.52% 0.116 294.8)
XYZxyz(8.0004, 5.6553, 20.0681)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C367D #677D36
analogous
#36437D #4C367D #70367D
triadic
#4C367D #7D4C36 #367D4C
tetradic
#4C367D #7D3643 #677D36 #367D70
square
#4C367D #7D3643 #677D36 #367D70
split-complementary
#4C367D #7D7036 #437D36
monochromatic
#181128 #322452 #4C367D #6648A8 #876DC0

Accessibility & contrast

On white

9.85
#4C367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4C367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C367D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C367D#FFFFFF#000000##FFFFFF
##4C367D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#404554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c367d;
/* rgb */ color: rgb(76, 54, 125);
/* oklch */ color: oklch(39.5% 0.116 294.8);
Tailwind
colors: {
  custom: {
    50: '#816ea3',
    500: '#4c367d',
    950: '#000000',
  },
}
SCSS
$custom: #4c367d;
$custom-light: #816ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c367d",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 258.592,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.11579,
    "h": 294.8
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#4C367D
secondary
#94A966
accent
#D058AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C367D

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

Preview Lab → · Contrast checker → · Palette generator →

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