#4D207C#4D207C

#4D207C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.147 H 301.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4D207C
RGBrgb(77, 32, 124)
HSLhsl(269, 59%, 31%)
HSVhsv(269, 74%, 49%)
CMYKcmyk(37.9%, 74.2%, 0%, 51.4%)
CIE-LABlab(23.89, 39.77, -43.90)
CIE-LCHlch(23.89, 59.24, 312.17°)
OKLaboklab(36.16% 0.0773 -0.1251)
OKLCHoklch(36.16% 0.147 301.7)
XYZxyz(7.2143, 4.0660, 19.4696)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D207C #4F7C20
analogous
#20217C #4D207C #7B207C
triadic
#4D207C #7C4D20 #207C4D
tetradic
#4D207C #7C2021 #4F7C20 #207C7B
square
#4D207C #7C2021 #4F7C20 #207C7B
split-complementary
#4D207C #7C7B20 #217C20
monochromatic
#11071B #2F134B #4D207C #6B2DAD #8A47CF

Accessibility & contrast

On white

11.58
#4D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D207C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D207C#FFFFFF#000000##FFFFFF
##4D207C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#43364C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d207c;
/* rgb */ color: rgb(77, 32, 124);
/* oklch */ color: oklch(36.2% 0.147 301.7);
Tailwind
colors: {
  custom: {
    50: '#8360a3',
    500: '#4d207c',
    950: '#000000',
  },
}
SCSS
$custom: #4d207c;
$custom-light: #8360a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d207c",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 269.348,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.14708,
    "h": 301.7
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#4D207C
secondary
#7DAF49
accent
#E24696
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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