#4C2485#4C2485

#4C2485 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.152 H 297.3°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4C2485
RGBrgb(76, 36, 133)
HSLhsl(265, 57%, 33%)
HSVhsv(265, 73%, 52%)
CMYKcmyk(42.9%, 72.9%, 0%, 47.8%)
CIE-LABlab(25.23, 39.95, -47.39)
CIE-LCHlch(25.23, 61.99, 310.13°)
OKLaboklab(37.32% 0.0698 -0.1354)
OKLCHoklch(37.32% 0.152 297.3)
XYZxyz(7.8439, 4.4916, 22.6394)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2485 #5D8524
analogous
#242D85 #4C2485 #7C2485
triadic
#4C2485 #854C24 #24854C
tetradic
#4C2485 #85242D #5D8524 #24857C
square
#4C2485 #85242D #5D8524 #24857C
split-complementary
#4C2485 #857C24 #2D8524
monochromatic
#150A25 #301755 #4C2485 #6831B5 #8753D0

Accessibility & contrast

On white

11.06
#4C2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4C2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2485
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2485#FFFFFF#000000##FFFFFF
##4C24851.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3E3C52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c2485;
/* rgb */ color: rgb(76, 36, 133);
/* oklch */ color: oklch(37.3% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4c2485',
    950: '#000000',
  },
}
SCSS
$custom: #4c2485;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2485",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 264.742,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.15237,
    "h": 297.3
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#4C2485
secondary
#8BB450
accent
#E147A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4C2485

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

Preview Lab → · Contrast checker → · Palette generator →

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