#4C2D8F#4C2D8F

#4C2D8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.153 H 292.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4C2D8F
RGBrgb(76, 45, 143)
HSLhsl(259, 52%, 37%)
HSVhsv(259, 69%, 56%)
CMYKcmyk(46.9%, 68.5%, 0%, 43.9%)
CIE-LABlab(27.84, 37.90, -49.38)
CIE-LCHlch(27.84, 62.24, 307.50°)
OKLaboklab(39.44% 0.0585 -0.1413)
OKLCHoklch(39.44% 0.153 292.5)
XYZxyz(8.8754, 5.3962, 26.5552)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2D8F #708F2D
analogous
#2D3F8F #4C2D8F #7D2D8F
triadic
#4C2D8F #8F4C2D #2D8F4C
tetradic
#4C2D8F #8F2D3F #708F2D #2D8F7D
square
#4C2D8F #8F2D3F #708F2D #2D8F7D
split-complementary
#4C2D8F #8F7D2D #3F8F2D
monochromatic
#1B1032 #331E60 #4C2D8F #653CBE #8867CF

Accessibility & contrast

On white

10.10
#4C2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2D8F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2D8F#FFFFFF#000000##FFFFFF
##4C2D8F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#38455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2d8f;
/* rgb */ color: rgb(76, 45, 143);
/* oklch */ color: oklch(39.4% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#8468b1',
    500: '#4c2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #4c2d8f;
$custom-light: #8468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2d8f",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 258.98,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.15296,
    "h": 292.5
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#4C2D8F
secondary
#9BB662
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4C2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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