#4C2D85#4C2D85

#4C2D85 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.140 H 295.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4C2D85
RGBrgb(76, 45, 133)
HSLhsl(261, 49%, 35%)
HSVhsv(261, 66%, 52%)
CMYKcmyk(42.9%, 66.2%, 0%, 47.8%)
CIE-LABlab(27.04, 35.00, -44.46)
CIE-LCHlch(27.04, 56.58, 308.21°)
OKLaboklab(38.61% 0.0598 -0.1269)
OKLCHoklch(38.61% 0.14 295.2)
XYZxyz(8.1514, 5.1065, 22.7419)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D85 #66852D
analogous
#2D3A85 #4C2D85 #782D85
triadic
#4C2D85 #854C2D #2D854C
tetradic
#4C2D85 #852D3A #66852D #2D8578
square
#4C2D85 #852D3A #66852D #2D8578
split-complementary
#4C2D85 #85782D #3A852D
monochromatic
#180E2A #321E57 #4C2D85 #663CB3 #8762CA

Accessibility & contrast

On white

10.39
#4C2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4C2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D85
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D85#FFFFFF#000000##FFFFFF
##4C2D851.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#3D4155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2d85;
/* rgb */ color: rgb(76, 45, 133);
/* oklch */ color: oklch(38.6% 0.140 295.2);
Tailwind
colors: {
  custom: {
    50: '#8368a9',
    500: '#4c2d85',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d85;
$custom-light: #8368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d85",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 261.136,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38611,
    "c": 0.14026,
    "h": 295.2
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#4C2D85
secondary
#93B05D
accent
#D94FA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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