#4C298D#4C298D

#4C298D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.156 H 293.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4C298D
RGBrgb(76, 41, 141)
HSLhsl(261, 55%, 36%)
HSVhsv(261, 71%, 55%)
CMYKcmyk(46.1%, 70.9%, 0%, 44.7%)
CIE-LABlab(26.86, 39.54, -49.72)
CIE-LCHlch(26.86, 63.53, 308.49°)
OKLaboklab(38.69% 0.0631 -0.1423)
OKLCHoklch(38.69% 0.156 293.9)
XYZxyz(8.5798, 5.0452, 25.7159)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C298D #6A8D29
analogous
#29388D #4C298D #7E298D
triadic
#4C298D #8D4C29 #298D4C
tetradic
#4C298D #8D2938 #6A8D29 #298D7E
square
#4C298D #8D2938 #6A8D29 #298D7E
split-complementary
#4C298D #8D7E29 #388D29
monochromatic
#190D2E #321B5E #4C298D #6637BC #8760D1

Accessibility & contrast

On white

10.45
#4C298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4C298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C298D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C298D#FFFFFF#000000##FFFFFF
##4C298D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#394258
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c298d;
/* rgb */ color: rgb(76, 41, 141);
/* oklch */ color: oklch(38.7% 0.156 293.9);
Tailwind
colors: {
  custom: {
    50: '#8466af',
    500: '#4c298d',
    950: '#000000',
  },
}
SCSS
$custom: #4c298d;
$custom-light: #8466af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c298d",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 261,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.15568,
    "h": 293.9
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#4C298D
secondary
#97B65B
accent
#DE4AAA
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C298D

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

Preview Lab → · Contrast checker → · Palette generator →

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