#4C2294#4C2294

#4C2294 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.172 H 293.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4C2294
RGBrgb(76, 34, 148)
HSLhsl(262, 63%, 36%)
HSVhsv(262, 77%, 58%)
CMYKcmyk(48.6%, 77%, 0%, 42%)
CIE-LABlab(26.21, 45.07, -55.12)
CIE-LCHlch(26.21, 71.20, 309.28°)
OKLaboklab(38.42% 0.0681 -0.1581)
OKLCHoklch(38.42% 0.172 293.3)
XYZxyz(8.8963, 4.8184, 28.4725)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2294 #6A9422
analogous
#223194 #4C2294 #852294
triadic
#4C2294 #944C22 #22944C
tetradic
#4C2294 #942231 #6A9422 #229485
square
#4C2294 #942231 #6A9422 #229485
split-complementary
#4C2294 #948522 #319422
monochromatic
#190B30 #321762 #4C2294 #662DC6 #8758D9

Accessibility & contrast

On white

10.69
#4C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2294
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2294#FFFFFF#000000##FFFFFF
##4C22941.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#36415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2294;
/* rgb */ color: rgb(76, 34, 148);
/* oklch */ color: oklch(38.4% 0.172 293.3);
Tailwind
colors: {
  custom: {
    50: '#8662b4',
    500: '#4c2294',
    950: '#000000',
  },
}
SCSS
$custom: #4c2294;
$custom-light: #8662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2294",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 262.105,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.17215,
    "h": 293.3
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#4C2294
secondary
#97BD55
accent
#E642A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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