#4C296D#4C296D

#4C296D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.1% C 0.116 H 305.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4C296D
RGBrgb(76, 41, 109)
HSLhsl(271, 45%, 29%)
HSVhsv(271, 62%, 43%)
CMYKcmyk(30.3%, 62.4%, 0%, 57.3%)
CIE-LABlab(24.41, 30.65, -33.48)
CIE-LCHlch(24.41, 45.39, 312.47°)
OKLaboklab(36.14% 0.0664 -0.0946)
OKLCHoklch(36.14% 0.116 305)
XYZxyz(6.5331, 4.2265, 14.9367)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C296D #4A6D29
analogous
#2A296D #4C296D #6D296C
triadic
#4C296D #6D4C29 #296D4C
tetradic
#4C296D #6D2A29 #4A6D29 #296C6D
square
#4C296D #6D2A29 #4A6D29 #296C6D
split-complementary
#4C296D #6C6D29 #296D2A
monochromatic
#100816 #2D1841 #4C296D #6B3A99 #8A52BE

Accessibility & contrast

On white

11.38
#4C296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4C296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C296D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C296D#FFFFFF#000000##FFFFFF
##4C296D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A396F
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#463747
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c296d;
/* rgb */ color: rgb(76, 41, 109);
/* oklch */ color: oklch(36.1% 0.116 305.0);
Tailwind
colors: {
  custom: {
    50: '#816497',
    500: '#4c296d',
    950: '#000000',
  },
}
SCSS
$custom: #4c296d;
$custom-light: #816497;
$custom-dark: #000000;
JSON
{
  "hex": "#4c296d",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 270.882,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.11554,
    "h": 305
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#4C296D
secondary
#789F53
accent
#D55392
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4C296D

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

Preview Lab → · Contrast checker → · Palette generator →

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