#4C2293#4C2293

#4C2293 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.171 H 293.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4C2293
RGBrgb(76, 34, 147)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 77%, 58%)
CMYKcmyk(48.3%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.12, 44.80, -54.65)
CIE-LCHlch(26.12, 70.67, 309.34°)
OKLaboklab(38.33% 0.0683 -0.1567)
OKLCHoklch(38.33% 0.171 293.6)
XYZxyz(8.8175, 4.7869, 28.0575)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2293 #699322
analogous
#223093 #4C2293 #842293
triadic
#4C2293 #934C22 #22934C
tetradic
#4C2293 #932230 #699322 #229384
square
#4C2293 #932230 #699322 #229384
split-complementary
#4C2293 #938422 #309322
monochromatic
#190B30 #321761 #4C2293 #662DC5 #8757D8

Accessibility & contrast

On white

10.73
#4C2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4C2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2293
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2293#FFFFFF#000000##FFFFFF
##4C22931.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#364159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2293;
/* rgb */ color: rgb(76, 34, 147);
/* oklch */ color: oklch(38.3% 0.171 293.6);
Tailwind
colors: {
  custom: {
    50: '#8662b4',
    500: '#4c2293',
    950: '#000000',
  },
}
SCSS
$custom: #4c2293;
$custom-light: #8662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2293",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 262.301,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.171,
    "h": 293.6
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#4C2293
secondary
#96BC55
accent
#E542A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2293

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

Preview Lab → · Contrast checker → · Palette generator →

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