#4C2385#4C2385

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

Color values

HEX#4C2385
RGBrgb(76, 35, 133)
HSLhsl(265, 58%, 33%)
HSVhsv(265, 74%, 52%)
CMYKcmyk(42.9%, 73.7%, 0%, 47.8%)
CIE-LABlab(25.05, 40.47, -47.69)
CIE-LCHlch(25.05, 62.55, 310.32°)
OKLaboklab(37.19% 0.0708 -0.1363)
OKLCHoklch(37.19% 0.154 297.4)
XYZxyz(7.8141, 4.4319, 22.6295)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2385 #5C8523
analogous
#232B85 #4C2385 #7D2385
triadic
#4C2385 #854C23 #23854C
tetradic
#4C2385 #85232B #5C8523 #23857D
square
#4C2385 #85232B #5C8523 #23857D
split-complementary
#4C2385 #857D23 #2B8523
monochromatic
#150924 #301655 #4C2385 #6830B5 #8751D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C2385#FFFFFF#000000##FFFFFF
##4C23851.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)
#003C88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#3E3C51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c2385;
/* rgb */ color: rgb(76, 35, 133);
/* oklch */ color: oklch(37.2% 0.154 297.4);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4c2385',
    950: '#000000',
  },
}
SCSS
$custom: #4c2385;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2385",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 265.102,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.15361,
    "h": 297.4
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#4C2385
secondary
#8AB54F
accent
#E246A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C2385

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

Preview Lab → · Contrast checker → · Palette generator →

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