#4C3873#4C3873

#4C3873 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.2% C 0.098 H 297.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4C3873
RGBrgb(76, 56, 115)
HSLhsl(260, 35%, 34%)
HSVhsv(260, 51%, 45%)
CMYKcmyk(33.9%, 51.3%, 0%, 54.9%)
CIE-LABlab(28.39, 23.03, -30.96)
CIE-LCHlch(28.39, 38.58, 306.64°)
OKLaboklab(39.21% 0.045 -0.0872)
OKLCHoklch(39.21% 0.098 297.3)
XYZxyz(7.4884, 5.6026, 16.9032)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3873 #5F7338
analogous
#384173 #4C3873 #693873
triadic
#4C3873 #734C38 #38734C
tetradic
#4C3873 #733841 #5F7338 #387369
square
#4C3873 #733841 #5F7338 #387369
split-complementary
#4C3873 #736938 #417338
monochromatic
#161021 #31244A #4C3873 #674C9C #876DB8

Accessibility & contrast

On white

9.90
#4C3873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C3873
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3873#FFFFFF#000000##FFFFFF
##4C38731.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#444350
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c3873;
/* rgb */ color: rgb(76, 56, 115);
/* oklch */ color: oklch(39.2% 0.098 297.3);
Tailwind
colors: {
  custom: {
    50: '#806f9b',
    500: '#4c3873',
    950: '#000000',
  },
}
SCSS
$custom: #4c3873;
$custom-light: #806f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3873",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 260.339,
    "s": 34.503,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.09817,
    "h": 297.3
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#4C3873
secondary
#8DA166
accent
#CB5DA6
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4C3873

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

Preview Lab → · Contrast checker → · Palette generator →

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