#4F207A#4F207A

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

Color values

HEX#4F207A
RGBrgb(79, 32, 122)
HSLhsl(271, 58%, 30%)
HSVhsv(271, 74%, 48%)
CMYKcmyk(35.2%, 73.8%, 0%, 52.2%)
CIE-LABlab(24.00, 39.66, -42.44)
CIE-LCHlch(24.00, 58.09, 313.06°)
OKLaboklab(36.25% 0.0807 -0.1207)
OKLCHoklch(36.25% 0.145 303.7)
XYZxyz(7.2530, 4.1004, 18.8179)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F207A #4B7A20
analogous
#22207A #4F207A #7A2078
triadic
#4F207A #7A4F20 #207A4F
tetradic
#4F207A #7A2220 #4B7A20 #20787A
square
#4F207A #7A2220 #4B7A20 #20787A
split-complementary
#4F207A #787A20 #207A22
monochromatic
#100719 #30134A #4F207A #6E2DAA #8D46CE

Accessibility & contrast

On white

11.54
#4F207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F207A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F207A#FFFFFF#000000##FFFFFF
##4F207A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#47354B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f207a;
/* rgb */ color: rgb(79, 32, 122);
/* oklch */ color: oklch(36.2% 0.145 303.7);
Tailwind
colors: {
  custom: {
    50: '#8560a1',
    500: '#4f207a',
    950: '#000000',
  },
}
SCSS
$custom: #4f207a;
$custom-light: #8560a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f207a",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 271.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.14522,
    "h": 303.7
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#4F207A
secondary
#79AD49
accent
#E24690
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4F207A

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

Preview Lab → · Contrast checker → · Palette generator →

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