#4C2983#4C2983

#4C2983 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.143 H 296.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4C2983
RGBrgb(76, 41, 131)
HSLhsl(263, 52%, 34%)
HSVhsv(263, 69%, 51%)
CMYKcmyk(42%, 68.7%, 0%, 48.6%)
CIE-LABlab(26.04, 36.70, -44.82)
CIE-LCHlch(26.04, 57.93, 309.31°)
OKLaboklab(37.85% 0.0647 -0.1279)
OKLCHoklch(37.85% 0.143 296.8)
XYZxyz(7.8691, 4.7609, 21.9727)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2983 #608329
analogous
#293383 #4C2983 #792983
triadic
#4C2983 #834C29 #29834C
tetradic
#4C2983 #832933 #608329 #298379
square
#4C2983 #832933 #608329 #298379
split-complementary
#4C2983 #837929 #338329
monochromatic
#160C26 #311A54 #4C2983 #6738B2 #875BCC

Accessibility & contrast

On white

10.76
#4C2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4C2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2983
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2983#FFFFFF#000000##FFFFFF
##4C29831.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#3E3E52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2983;
/* rgb */ color: rgb(76, 41, 131);
/* oklch */ color: oklch(37.8% 0.143 296.8);
Tailwind
colors: {
  custom: {
    50: '#8365a8',
    500: '#4c2983',
    950: '#000000',
  },
}
SCSS
$custom: #4c2983;
$custom-light: #8365a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2983",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 263.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37845,
    "c": 0.14334,
    "h": 296.8
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#4C2983
secondary
#8EB157
accent
#DC4CA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2983

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

Preview Lab → · Contrast checker → · Palette generator →

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