#4C2290#4C2290

#4C2290 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.168 H 294.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4C2290
RGBrgb(76, 34, 144)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 76%, 56%)
CMYKcmyk(47.2%, 76.4%, 0%, 43.5%)
CIE-LABlab(25.84, 43.98, -53.25)
CIE-LCHlch(25.84, 69.06, 309.55°)
OKLaboklab(38.05% 0.0692 -0.1526)
OKLCHoklch(38.05% 0.168 294.4)
XYZxyz(8.5852, 4.6939, 26.8338)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2290 #669022
analogous
#222F90 #4C2290 #832290
triadic
#4C2290 #904C22 #22904C
tetradic
#4C2290 #90222F #669022 #229083
square
#4C2290 #90222F #669022 #229083
split-complementary
#4C2290 #908322 #2F9022
monochromatic
#180B2D #32165E #4C2290 #662EC2 #8755D7

Accessibility & contrast

On white

10.83
#4C2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4C2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2290
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2290#FFFFFF#000000##FFFFFF
##4C22901.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#383F57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2290;
/* rgb */ color: rgb(76, 34, 144);
/* oklch */ color: oklch(38.0% 0.168 294.4);
Tailwind
colors: {
  custom: {
    50: '#8562b1',
    500: '#4c2290',
    950: '#000000',
  },
}
SCSS
$custom: #4c2290;
$custom-light: #8562b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2290",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 262.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.16756,
    "h": 294.4
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#4C2290
secondary
#93BB53
accent
#E543A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2290

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

Preview Lab → · Contrast checker → · Palette generator →

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