#4C1A83#4C1A83

#4C1A83 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.162 H 299.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4C1A83
RGBrgb(76, 26, 131)
HSLhsl(269, 67%, 31%)
HSVhsv(269, 80%, 51%)
CMYKcmyk(42%, 80.2%, 0%, 48.6%)
CIE-LABlab(23.38, 44.18, -49.15)
CIE-LCHlch(23.38, 66.09, 311.95°)
OKLaboklab(35.96% 0.0798 -0.1406)
OKLCHoklch(35.96% 0.162 299.6)
XYZxyz(7.4456, 3.9139, 21.8315)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1A83 #51831A
analogous
#1A1D83 #4C1A83 #801A83
triadic
#4C1A83 #834C1A #1A834C
tetradic
#4C1A83 #831A1D #51831A #1A8380
square
#4C1A83 #831A1D #51831A #1A8380
split-complementary
#4C1A83 #83801A #1D831A
monochromatic
#11061D #2E1050 #4C1A83 #6A24B6 #883FD9

Accessibility & contrast

On white

11.78
#4C1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4C1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1A83
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1A83#FFFFFF#000000##FFFFFF
##4C1A831.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#3F364E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4c1a83;
/* rgb */ color: rgb(76, 26, 131);
/* oklch */ color: oklch(36.0% 0.162 299.6);
Tailwind
colors: {
  custom: {
    50: '#845da8',
    500: '#4c1a83',
    950: '#000000',
  },
}
SCSS
$custom: #4c1a83;
$custom-light: #845da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1a83",
  "rgb": {
    "r": 76,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 268.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.16162,
    "h": 299.6
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#4C1A83
secondary
#7FB742
accent
#EA3E98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4C1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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