#4C298B#4C298B

#4C298B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.153 H 294.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4C298B
RGBrgb(76, 41, 139)
HSLhsl(261, 54%, 35%)
HSVhsv(261, 71%, 55%)
CMYKcmyk(45.3%, 70.5%, 0%, 45.5%)
CIE-LABlab(26.70, 38.97, -48.76)
CIE-LCHlch(26.70, 62.42, 308.63°)
OKLaboklab(38.52% 0.0634 -0.1395)
OKLCHoklch(38.52% 0.153 294.5)
XYZxyz(8.4324, 4.9862, 24.9392)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C298B #688B29
analogous
#29378B #4C298B #7D298B
triadic
#4C298B #8B4C29 #298B4C
tetradic
#4C298B #8B2937 #688B29 #298B7D
square
#4C298B #8B2937 #688B29 #298B7D
split-complementary
#4C298B #8B7D29 #378B29
monochromatic
#180D2C #321B5C #4C298B #6637BA #875FD0

Accessibility & contrast

On white

10.51
#4C298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4C298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C298B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C298B#FFFFFF#000000##FFFFFF
##4C298B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#3A4156
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c298b;
/* rgb */ color: rgb(76, 41, 139);
/* oklch */ color: oklch(38.5% 0.153 294.5);
Tailwind
colors: {
  custom: {
    50: '#8465ae',
    500: '#4c298b',
    950: '#000000',
  },
}
SCSS
$custom: #4c298b;
$custom-light: #8465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c298b",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 261.429,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.15323,
    "h": 294.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#4C298B
secondary
#95B55B
accent
#DE4AA9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C298B

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

Preview Lab → · Contrast checker → · Palette generator →

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