#4F206F#4F206F

#4F206F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.133 H 308.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#4F206F
RGBrgb(79, 32, 111)
HSLhsl(276, 55%, 28%)
HSVhsv(276, 71%, 44%)
CMYKcmyk(28.8%, 71.2%, 0%, 56.5%)
CIE-LABlab(23.15, 36.88, -36.78)
CIE-LCHlch(23.15, 52.08, 315.08°)
OKLaboklab(35.37% 0.0823 -0.1041)
OKLCHoklch(35.37% 0.133 308.3)
XYZxyz(6.6096, 3.8431, 15.4294)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F206F #406F20
analogous
#27206F #4F206F #6F2067
triadic
#4F206F #6F4F20 #206F4F
tetradic
#4F206F #6F2720 #406F20 #20676F
square
#4F206F #6F2720 #406F20 #20676F
split-complementary
#4F206F #676F20 #206F27
monochromatic
#110718 #2D123F #4F206F #712E9F #9241C8

Accessibility & contrast

On white

11.87
#4F206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4F206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F206F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F206F#FFFFFF#000000##FFFFFF
##4F206F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#4A3145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f206f;
/* rgb */ color: rgb(79, 32, 111);
/* oklch */ color: oklch(35.4% 0.133 308.3);
Tailwind
colors: {
  custom: {
    50: '#845f99',
    500: '#4f206f',
    950: '#000000',
  },
}
SCSS
$custom: #4f206f;
$custom-light: #845f99;
$custom-dark: #000000;
JSON
{
  "hex": "#4f206f",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 275.696,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.13273,
    "h": 308.3
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#4F206F
secondary
#6DA348
accent
#DF4986
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F206F

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

Preview Lab → · Contrast checker → · Palette generator →

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