#4C2D86#4C2D86

#4C2D86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.142 H 294.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4C2D86
RGBrgb(76, 45, 134)
HSLhsl(261, 50%, 35%)
HSVhsv(261, 66%, 53%)
CMYKcmyk(43.3%, 66.4%, 0%, 47.5%)
CIE-LABlab(27.11, 35.28, -44.96)
CIE-LCHlch(27.11, 57.15, 308.12°)
OKLaboklab(38.69% 0.0597 -0.1283)
OKLCHoklch(38.69% 0.142 294.9)
XYZxyz(8.2208, 5.1343, 23.1075)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D86 #67862D
analogous
#2D3A86 #4C2D86 #792D86
triadic
#4C2D86 #864C2D #2D864C
tetradic
#4C2D86 #862D3A #67862D #2D8679
square
#4C2D86 #862D3A #67862D #2D8679
split-complementary
#4C2D86 #86792D #3A862D
monochromatic
#180E2A #321E58 #4C2D86 #663CB4 #8763CB

Accessibility & contrast

On white

10.36
#4C2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4C2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D86
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D86#FFFFFF#000000##FFFFFF
##4C2D861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#3D4255
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2d86;
/* rgb */ color: rgb(76, 45, 134);
/* oklch */ color: oklch(38.7% 0.142 294.9);
Tailwind
colors: {
  custom: {
    50: '#8368aa',
    500: '#4c2d86',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d86;
$custom-light: #8368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d86",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 260.899,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38692,
    "c": 0.14154,
    "h": 294.9
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#4C2D86
secondary
#94B15E
accent
#D94FA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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