#4F208F#4F208F

#4F208F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.169 H 296.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4F208F
RGBrgb(79, 32, 143)
HSLhsl(265, 63%, 34%)
HSVhsv(265, 78%, 56%)
CMYKcmyk(44.8%, 77.6%, 0%, 43.9%)
CIE-LABlab(25.80, 45.15, -52.69)
CIE-LCHlch(25.80, 69.39, 310.60°)
OKLaboklab(38.07% 0.0758 -0.1509)
OKLCHoklch(38.07% 0.169 296.7)
XYZxyz(8.6976, 4.6783, 26.4260)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F208F #608F20
analogous
#20298F #4F208F #87208F
triadic
#4F208F #8F4F20 #208F4F
tetradic
#4F208F #8F2029 #608F20 #208F87
square
#4F208F #8F2029 #608F20 #208F87
split-complementary
#4F208F #8F8720 #298F20
monochromatic
#180A2B #33155D #4F208F #6B2BC1 #8A51D8

Accessibility & contrast

On white

10.85
#4F208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F208F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F208F#FFFFFF#000000##FFFFFF
##4F208F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#3E3E56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f208f;
/* rgb */ color: rgb(79, 32, 143);
/* oklch */ color: oklch(38.1% 0.169 296.7);
Tailwind
colors: {
  custom: {
    50: '#8761b1',
    500: '#4f208f',
    950: '#000000',
  },
}
SCSS
$custom: #4f208f;
$custom-light: #8761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f208f",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 265.405,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.16886,
    "h": 296.7
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#4F208F
secondary
#8EBB4F
accent
#E641A1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F208F

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

Preview Lab → · Contrast checker → · Palette generator →

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