#4C207D#4C207D

#4C207D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.148 H 300.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4C207D
RGBrgb(76, 32, 125)
HSLhsl(268, 59%, 31%)
HSVhsv(268, 74%, 49%)
CMYKcmyk(39.2%, 74.4%, 0%, 51%)
CIE-LABlab(23.84, 39.83, -44.63)
CIE-LCHlch(23.84, 59.82, 311.75°)
OKLaboklab(36.12% 0.0756 -0.1273)
OKLCHoklch(36.12% 0.148 300.7)
XYZxyz(7.1978, 4.0501, 19.8006)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C207D #517D20
analogous
#20227D #4C207D #7A207D
triadic
#4C207D #7D4C20 #207D4C
tetradic
#4C207D #7D2022 #517D20 #207D7A
square
#4C207D #7D2022 #517D20 #207D7A
split-complementary
#4C207D #7D7A20 #227D20
monochromatic
#11071C #2E144C #4C207D #6A2CAE #8847D0

Accessibility & contrast

On white

11.60
#4C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4C207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C207D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C207D#FFFFFF#000000##FFFFFF
##4C207D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#41374C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c207d;
/* rgb */ color: rgb(76, 32, 125);
/* oklch */ color: oklch(36.1% 0.148 300.7);
Tailwind
colors: {
  custom: {
    50: '#8360a3',
    500: '#4c207d',
    950: '#000000',
  },
}
SCSS
$custom: #4c207d;
$custom-light: #8360a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c207d",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 268.387,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36117,
    "c": 0.14804,
    "h": 300.7
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#4C207D
secondary
#7FB049
accent
#E24598
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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