#4F206E#4F206E

#4F206E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.132 H 308.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#4F206E
RGBrgb(79, 32, 110)
HSLhsl(276, 55%, 28%)
HSVhsv(276, 71%, 43%)
CMYKcmyk(28.2%, 70.9%, 0%, 56.9%)
CIE-LABlab(23.07, 36.63, -36.25)
CIE-LCHlch(23.07, 51.54, 315.30°)
OKLaboklab(35.29% 0.0824 -0.1026)
OKLCHoklch(35.29% 0.132 308.8)
XYZxyz(6.5549, 3.8212, 15.1411)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F206E #3F6E20
analogous
#28206E #4F206E #6E2066
triadic
#4F206E #6E4F20 #206E4F
tetradic
#4F206E #6E2820 #3F6E20 #20666E
square
#4F206E #6E2820 #3F6E20 #20666E
split-complementary
#4F206E #666E20 #206E28
monochromatic
#110718 #2D123F #4F206E #712E9D #9241C8

Accessibility & contrast

On white

11.90
#4F206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4F206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F206E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F206E#FFFFFF#000000##FFFFFF
##4F206E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#11386C
Tritanopia (blue-blind)
#4A3144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f206e;
/* rgb */ color: rgb(79, 32, 110);
/* oklch */ color: oklch(35.3% 0.132 308.8);
Tailwind
colors: {
  custom: {
    50: '#835f98',
    500: '#4f206e',
    950: '#000000',
  },
}
SCSS
$custom: #4f206e;
$custom-light: #835f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4f206e",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 276.154,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.13159,
    "h": 308.8
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#4F206E
secondary
#6CA248
accent
#DE4A85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F206E

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

Preview Lab → · Contrast checker → · Palette generator →

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