#4C207A#4C207A

#4C207A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.145 H 301.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#4C207A
RGBrgb(76, 32, 122)
HSLhsl(269, 58%, 30%)
HSVhsv(269, 74%, 48%)
CMYKcmyk(37.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(23.59, 39.04, -43.13)
CIE-LCHlch(23.59, 58.17, 312.15°)
OKLaboklab(35.86% 0.0762 -0.1229)
OKLCHoklch(35.86% 0.145 301.8)
XYZxyz(7.0090, 3.9746, 18.8065)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C207A #4E7A20
analogous
#20217A #4C207A #79207A
triadic
#4C207A #7A4C20 #207A4C
tetradic
#4C207A #7A2021 #4E7A20 #207A79
square
#4C207A #7A2021 #4E7A20 #207A79
split-complementary
#4C207A #7A7920 #217A20
monochromatic
#100719 #2E134A #4C207A #6A2DAA #8946CE

Accessibility & contrast

On white

11.70
#4C207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4C207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C207A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C207A#FFFFFF#000000##FFFFFF
##4C207A1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#42364B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4c207a;
/* rgb */ color: rgb(76, 32, 122);
/* oklch */ color: oklch(35.9% 0.145 301.8);
Tailwind
colors: {
  custom: {
    50: '#8360a1',
    500: '#4c207a',
    950: '#000000',
  },
}
SCSS
$custom: #4c207a;
$custom-light: #8360a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c207a",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 269.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.14458,
    "h": 301.8
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#4C207A
secondary
#7CAD49
accent
#E24696
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4C207A

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

Preview Lab → · Contrast checker → · Palette generator →

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