#4C3E8A#4C3E8A

#4C3E8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 41.9% C 0.122 H 288.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4C3E8A
RGBrgb(76, 62, 138)
HSLhsl(251, 38%, 39%)
HSVhsv(251, 55%, 54%)
CMYKcmyk(44.9%, 55.1%, 0%, 45.9%)
CIE-LABlab(31.39, 26.07, -40.55)
CIE-LCHlch(31.39, 48.21, 302.73°)
OKLaboklab(41.92% 0.0386 -0.1153)
OKLCHoklch(41.92% 0.122 288.5)
XYZxyz(9.2893, 6.8164, 24.8661)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3E8A #7C8A3E
analogous
#3E568A #4C3E8A #723E8A
triadic
#4C3E8A #8A4C3E #3E8A4C
tetradic
#4C3E8A #8A3E56 #7C8A3E #3E8A72
square
#4C3E8A #8A3E56 #7C8A3E #3E8A72
split-complementary
#4C3E8A #8A723E #568A3E
monochromatic
#1D1836 #352B60 #4C3E8A #6553B2 #8B7EC5

Accessibility & contrast

On white

8.89
#4C3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3E8A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3E8A#FFFFFF#000000##FFFFFF
##4C3E8A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#394E5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c3e8a;
/* rgb */ color: rgb(76, 62, 138);
/* oklch */ color: oklch(41.9% 0.122 288.5);
Tailwind
colors: {
  custom: {
    50: '#8273ad',
    500: '#4c3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4c3e8a;
$custom-light: #8273ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3e8a",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 251.053,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.12163,
    "h": 288.5
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#4C3E8A
secondary
#A4AF75
accent
#CE5AB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4C3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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