#4F208A#4F208A

#4F208A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.163 H 298.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4F208A
RGBrgb(79, 32, 138)
HSLhsl(267, 62%, 33%)
HSVhsv(267, 77%, 54%)
CMYKcmyk(42.8%, 76.8%, 0%, 45.9%)
CIE-LABlab(25.35, 43.83, -50.31)
CIE-LCHlch(25.35, 66.72, 311.06°)
OKLaboklab(37.62% 0.0772 -0.1439)
OKLCHoklch(37.62% 0.163 298.2)
XYZxyz(8.3272, 4.5301, 24.4755)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F208A #5B8A20
analogous
#20268A #4F208A #84208A
triadic
#4F208A #8A4F20 #208A4F
tetradic
#4F208A #8A2026 #5B8A20 #208A84
square
#4F208A #8A2026 #5B8A20 #208A84
split-complementary
#4F208A #8A8420 #268A20
monochromatic
#160927 #331458 #4F208A #6B2CBC #8B4ED6

Accessibility & contrast

On white

11.02
#4F208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F208A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F208A#FFFFFF#000000##FFFFFF
##4F208A1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#403C54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f208a;
/* rgb */ color: rgb(79, 32, 138);
/* oklch */ color: oklch(37.6% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#8661ad',
    500: '#4f208a',
    950: '#000000',
  },
}
SCSS
$custom: #4f208a;
$custom-light: #8661ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f208a",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 266.604,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37622,
    "c": 0.16326,
    "h": 298.2
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#4F208A
secondary
#89B94D
accent
#E5429D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F208A

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

Preview Lab → · Contrast checker → · Palette generator →

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