#4F205C#4F205C

#4F205C is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.111 H 318.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#4F205C
RGBrgb(79, 32, 92)
HSLhsl(287, 48%, 24%)
HSVhsv(287, 65%, 36%)
CMYKcmyk(14.1%, 65.2%, 0%, 63.9%)
CIE-LABlab(21.83, 32.34, -26.47)
CIE-LCHlch(21.83, 41.79, 320.69°)
OKLaboklab(33.99% 0.0832 -0.0739)
OKLCHoklch(33.99% 0.111 318.4)
XYZxyz(5.6725, 3.4682, 10.4938)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F205C #2D5C20
analogous
#31205C #4F205C #5C204B
triadic
#4F205C #5C4F20 #205C4F
tetradic
#4F205C #5C3120 #2D5C20 #204B5C
square
#4F205C #5C3120 #2D5C20 #204B5C
split-complementary
#4F205C #4B5C20 #205C31
monochromatic
#130817 #28102F #4F205C #763089 #9D40B7

Accessibility & contrast

On white

12.40
#4F205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F205C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F205C#FFFFFF#000000##FFFFFF
##4F205C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315E
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#4F2A3A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f205c;
/* rgb */ color: rgb(79, 32, 92);
/* oklch */ color: oklch(34.0% 0.111 318.4);
Tailwind
colors: {
  custom: {
    50: '#825f8a',
    500: '#4f205c',
    950: '#000000',
  },
}
SCSS
$custom: #4f205c;
$custom-light: #825f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f205c",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 287,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.11129,
    "h": 318.4
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#4F205C
secondary
#579047
accent
#D8506D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4F205C

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

Preview Lab → · Contrast checker → · Palette generator →

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