#4C2C95#4C2C95

#4C2C95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.162 H 291.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4C2C95
RGBrgb(76, 44, 149)
HSLhsl(258, 54%, 38%)
HSVhsv(258, 70%, 58%)
CMYKcmyk(49%, 70.5%, 0%, 41.6%)
CIE-LABlab(28.13, 40.21, -52.59)
CIE-LCHlch(28.13, 66.20, 307.40°)
OKLaboklab(39.81% 0.0586 -0.1507)
OKLCHoklch(39.81% 0.162 291.2)
XYZxyz(9.3045, 5.5074, 29.0007)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C95 #75952C
analogous
#2C4095 #4C2C95 #802C95
triadic
#4C2C95 #954C2C #2C954C
tetradic
#4C2C95 #952C40 #75952C #2C9580
square
#4C2C95 #952C40 #75952C #2C9580
split-complementary
#4C2C95 #95802C #40952C
monochromatic
#1C1037 #341E66 #4C2C95 #643AC4 #8969D3

Accessibility & contrast

On white

9.99
#4C2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2C95
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2C95#FFFFFF#000000##FFFFFF
##4C2C951.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#35475D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2c95;
/* rgb */ color: rgb(76, 44, 149);
/* oklch */ color: oklch(39.8% 0.162 291.2);
Tailwind
colors: {
  custom: {
    50: '#8568b5',
    500: '#4c2c95',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c95;
$custom-light: #8568b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c95",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 258.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.16174,
    "h": 291.2
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#4C2C95
secondary
#9FB964
accent
#DE4AB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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