#4C2083#4C2083

#4C2083 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.155 H 298.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4C2083
RGBrgb(76, 32, 131)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 51%)
CMYKcmyk(42%, 75.6%, 0%, 48.6%)
CIE-LABlab(24.35, 41.43, -47.58)
CIE-LCHlch(24.35, 63.09, 311.04°)
OKLaboklab(36.64% 0.0743 -0.136)
OKLCHoklch(36.64% 0.155 298.6)
XYZxyz(7.5927, 4.2081, 21.8805)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2083 #578320
analogous
#202583 #4C2083 #7E2083
triadic
#4C2083 #834C20 #20834C
tetradic
#4C2083 #832025 #578320 #20837E
square
#4C2083 #832025 #578320 #20837E
split-complementary
#4C2083 #837E20 #258320
monochromatic
#130821 #2F1452 #4C2083 #692CB4 #874AD3

Accessibility & contrast

On white

11.40
#4C2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4C2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2083
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2083#FFFFFF#000000##FFFFFF
##4C20831.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#3F3950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c2083;
/* rgb */ color: rgb(76, 32, 131);
/* oklch */ color: oklch(36.6% 0.155 298.6);
Tailwind
colors: {
  custom: {
    50: '#8460a8',
    500: '#4c2083',
    950: '#000000',
  },
}
SCSS
$custom: #4c2083;
$custom-light: #8460a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2083",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 266.667,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36638,
    "c": 0.15493,
    "h": 298.6
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#4C2083
secondary
#85B649
accent
#E4449D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2083

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

Preview Lab → · Contrast checker → · Palette generator →

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