#4C29A3#4C29A3

#4C29A3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.182 H 288.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4C29A3
RGBrgb(76, 41, 163)
HSLhsl(257, 60%, 40%)
HSVhsv(257, 75%, 64%)
CMYKcmyk(53.4%, 74.8%, 0%, 36.1%)
CIE-LABlab(28.81, 45.85, -60.01)
CIE-LCHlch(28.81, 75.52, 307.38°)
OKLaboklab(40.68% 0.0583 -0.1725)
OKLCHoklch(40.68% 0.182 288.7)
XYZxyz(10.3824, 5.7662, 35.2092)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29A3 #80A329
analogous
#2943A3 #4C29A3 #8929A3
triadic
#4C29A3 #A34C29 #29A34C
tetradic
#4C29A3 #A32943 #80A329 #29A389
square
#4C29A3 #A32943 #80A329 #29A389
split-complementary
#4C29A3 #A38929 #43A329
monochromatic
#1E1041 #351D72 #4C29A3 #653BCE #8C6CDA

Accessibility & contrast

On white

9.75
#4C29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4C29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29A3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29A3#FFFFFF#000000##FFFFFF
##4C29A31.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#2A4A64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c29a3;
/* rgb */ color: rgb(76, 41, 163);
/* oklch */ color: oklch(40.7% 0.182 288.7);
Tailwind
colors: {
  custom: {
    50: '#8767bf',
    500: '#4c29a3',
    950: '#000000',
  },
}
SCSS
$custom: #4c29a3;
$custom-light: #8767bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29a3",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 257.213,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.40676,
    "c": 0.18209,
    "h": 288.7
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#4C29A3
secondary
#A7C167
accent
#E345B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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