#4F206D#4F206D

#4F206D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.130 H 309.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#4F206D
RGBrgb(79, 32, 109)
HSLhsl(277, 55%, 28%)
HSVhsv(277, 71%, 43%)
CMYKcmyk(27.5%, 70.6%, 0%, 57.3%)
CIE-LABlab(23.00, 36.39, -35.73)
CIE-LCHlch(23.00, 50.99, 315.52°)
OKLaboklab(35.21% 0.0825 -0.101)
OKLCHoklch(35.21% 0.13 309.2)
XYZxyz(6.5007, 3.7995, 14.8560)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F206D #3E6D20
analogous
#28206D #4F206D #6D2065
triadic
#4F206D #6D4F20 #206D4F
tetradic
#4F206D #6D2820 #3E6D20 #20656D
square
#4F206D #6D2820 #3E6D20 #20656D
split-complementary
#4F206D #656D20 #206D28
monochromatic
#110718 #2D123E #4F206D #712E9C #9340C7

Accessibility & contrast

On white

11.93
#4F206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F206D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F206D#FFFFFF#000000##FFFFFF
##4F206D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#13376B
Tritanopia (blue-blind)
#4B3043
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f206d;
/* rgb */ color: rgb(79, 32, 109);
/* oklch */ color: oklch(35.2% 0.130 309.2);
Tailwind
colors: {
  custom: {
    50: '#835f97',
    500: '#4f206d',
    950: '#000000',
  },
}
SCSS
$custom: #4f206d;
$custom-light: #835f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4f206d",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 276.623,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35212,
    "c": 0.13045,
    "h": 309.2
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#4F206D
secondary
#6BA148
accent
#DE4A84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F206D

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

Preview Lab → · Contrast checker → · Palette generator →

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