#4F208D#4F208D

#4F208D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.167 H 297.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4F208D
RGBrgb(79, 32, 141)
HSLhsl(266, 63%, 34%)
HSVhsv(266, 77%, 55%)
CMYKcmyk(44%, 77.3%, 0%, 44.7%)
CIE-LABlab(25.62, 44.62, -51.74)
CIE-LCHlch(25.62, 68.33, 310.77°)
OKLaboklab(37.89% 0.0764 -0.1481)
OKLCHoklch(37.89% 0.167 297.3)
XYZxyz(8.5474, 4.6182, 25.6352)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F208D #5E8D20
analogous
#20278D #4F208D #86208D
triadic
#4F208D #8D4F20 #208D4F
tetradic
#4F208D #8D2027 #5E8D20 #208D86
square
#4F208D #8D2027 #5E8D20 #208D86
split-complementary
#4F208D #8D8620 #278D20
monochromatic
#170929 #33155B #4F208D #6B2BBF #8A50D7

Accessibility & contrast

On white

10.92
#4F208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4F208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F208D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F208D#FFFFFF#000000##FFFFFF
##4F208D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#3F3D55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f208d;
/* rgb */ color: rgb(79, 32, 141);
/* oklch */ color: oklch(37.9% 0.167 297.3);
Tailwind
colors: {
  custom: {
    50: '#8761af',
    500: '#4f208d',
    950: '#000000',
  },
}
SCSS
$custom: #4f208d;
$custom-light: #8761af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f208d",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 265.872,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.16663,
    "h": 297.3
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#4F208D
secondary
#8CBA4E
accent
#E6429F
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F208D

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

Preview Lab → · Contrast checker → · Palette generator →

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