#4C2483#4C2483

#4C2483 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.150 H 297.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#4C2483
RGBrgb(76, 36, 131)
HSLhsl(265, 57%, 33%)
HSVhsv(265, 73%, 51%)
CMYKcmyk(42%, 72.5%, 0%, 48.6%)
CIE-LABlab(25.07, 39.41, -46.41)
CIE-LCHlch(25.07, 60.88, 310.33°)
OKLaboklab(37.15% 0.0702 -0.1326)
OKLCHoklch(37.15% 0.15 297.9)
XYZxyz(7.7070, 4.4368, 21.9187)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2483 #5B8324
analogous
#242C83 #4C2483 #7B2483
triadic
#4C2483 #834C24 #24834C
tetradic
#4C2483 #83242C #5B8324 #24837B
square
#4C2483 #83242C #5B8324 #24837B
split-complementary
#4C2483 #837B24 #2C8324
monochromatic
#140A23 #301753 #4C2483 #6831B3 #8752CF

Accessibility & contrast

On white

11.13
#4C2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4C2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2483
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2483#FFFFFF#000000##FFFFFF
##4C24831.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#3E3B51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2483;
/* rgb */ color: rgb(76, 36, 131);
/* oklch */ color: oklch(37.1% 0.150 297.9);
Tailwind
colors: {
  custom: {
    50: '#8362a8',
    500: '#4c2483',
    950: '#000000',
  },
}
SCSS
$custom: #4c2483;
$custom-light: #8362a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2483",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 265.263,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.15,
    "h": 297.9
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#4C2483
secondary
#89B34F
accent
#E048A0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4C2483

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

Preview Lab → · Contrast checker → · Palette generator →

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