#4C3296#4C3296

#4C3296 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.155 H 289.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4C3296
RGBrgb(76, 50, 150)
HSLhsl(256, 50%, 39%)
HSVhsv(256, 67%, 59%)
CMYKcmyk(49.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.46, 37.10, -51.04)
CIE-LCHlch(29.46, 63.10, 306.01°)
OKLaboklab(40.79% 0.0523 -0.1462)
OKLCHoklch(40.79% 0.155 289.7)
XYZxyz(9.6245, 6.0193, 29.5030)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3296 #7C9632
analogous
#324A96 #4C3296 #7E3296
triadic
#4C3296 #964C32 #32964C
tetradic
#4C3296 #96324A #7C9632 #32967E
square
#4C3296 #96324A #7C9632 #32967E
split-complementary
#4C3296 #967E32 #4A9632
monochromatic
#1D133A #352368 #4C3296 #6544C1 #8B72D0

Accessibility & contrast

On white

9.53
#4C3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3296
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3296#FFFFFF#000000##FFFFFF
##4C32961.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#344A5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c3296;
/* rgb */ color: rgb(76, 50, 150);
/* oklch */ color: oklch(40.8% 0.155 289.7);
Tailwind
colors: {
  custom: {
    50: '#856bb6',
    500: '#4c3296',
    950: '#000000',
  },
}
SCSS
$custom: #4c3296;
$custom-light: #856bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3296",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 255.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.15527,
    "h": 289.7
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#4C3296
secondary
#A4B86C
accent
#DA4EB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4C3296

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

Preview Lab → · Contrast checker → · Palette generator →

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