#4C367E#4C367E

#4C367E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.117 H 294.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4C367E
RGBrgb(76, 54, 126)
HSLhsl(258, 40%, 35%)
HSVhsv(258, 57%, 49%)
CMYKcmyk(39.7%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.59, 27.50, -37.57)
CIE-LCHlch(28.59, 46.56, 306.20°)
OKLaboklab(39.59% 0.0487 -0.1066)
OKLCHoklch(39.59% 0.117 294.5)
XYZxyz(8.0646, 5.6810, 20.4063)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C367E #687E36
analogous
#36447E #4C367E #70367E
triadic
#4C367E #7E4C36 #367E4C
tetradic
#4C367E #7E3644 #687E36 #367E70
square
#4C367E #7E3644 #687E36 #367E70
split-complementary
#4C367E #7E7036 #447E36
monochromatic
#181128 #322453 #4C367E #6648A9 #876EC1

Accessibility & contrast

On white

9.83
#4C367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4C367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C367E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C367E#FFFFFF#000000##FFFFFF
##4C367E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#404554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c367e;
/* rgb */ color: rgb(76, 54, 126);
/* oklch */ color: oklch(39.6% 0.117 294.5);
Tailwind
colors: {
  custom: {
    50: '#816ea4',
    500: '#4c367e',
    950: '#000000',
  },
}
SCSS
$custom: #4c367e;
$custom-light: #816ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c367e",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 258.333,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.11719,
    "h": 294.5
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#4C367E
secondary
#95A967
accent
#D058AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4C367E

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

Preview Lab → · Contrast checker → · Palette generator →

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