#4C2690#4C2690

#4C2690 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.163 H 293.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4C2690
RGBrgb(76, 38, 144)
HSLhsl(262, 58%, 36%)
HSVhsv(262, 74%, 56%)
CMYKcmyk(47.2%, 73.6%, 0%, 43.5%)
CIE-LABlab(26.55, 41.98, -52.09)
CIE-LCHlch(26.55, 66.90, 308.86°)
OKLaboklab(38.55% 0.0655 -0.1493)
OKLCHoklch(38.55% 0.163 293.7)
XYZxyz(8.7063, 4.9361, 26.8742)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2690 #6A9026
analogous
#263590 #4C2690 #812690
triadic
#4C2690 #904C26 #26904C
tetradic
#4C2690 #902635 #6A9026 #269081
square
#4C2690 #902635 #6A9026 #269081
split-complementary
#4C2690 #908126 #359026
monochromatic
#190C2F #321960 #4C2690 #6633C0 #875CD4

Accessibility & contrast

On white

10.57
#4C2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4C2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2690
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2690#FFFFFF#000000##FFFFFF
##4C26901.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#384158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c2690;
/* rgb */ color: rgb(76, 38, 144);
/* oklch */ color: oklch(38.5% 0.163 293.7);
Tailwind
colors: {
  custom: {
    50: '#8564b1',
    500: '#4c2690',
    950: '#000000',
  },
}
SCSS
$custom: #4c2690;
$custom-light: #8564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2690",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 261.509,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.16298,
    "h": 293.7
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#4C2690
secondary
#97B959
accent
#E146AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2690

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

Preview Lab → · Contrast checker → · Palette generator →

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