#4F285C#4F285C

#4F285C is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.2% C 0.097 H 317.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#4F285C
RGBrgb(79, 40, 92)
HSLhsl(285, 39%, 26%)
HSVhsv(285, 57%, 36%)
CMYKcmyk(14.1%, 56.5%, 0%, 63.9%)
CIE-LABlab(23.51, 27.82, -23.80)
CIE-LCHlch(23.51, 36.61, 319.45°)
OKLaboklab(35.23% 0.0712 -0.0662)
OKLCHoklch(35.23% 0.097 317.1)
XYZxyz(5.9147, 3.9528, 10.5745)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F285C #355C28
analogous
#35285C #4F285C #5C284F
triadic
#4F285C #5C4F28 #285C4F
tetradic
#4F285C #5C3528 #355C28 #284F5C
square
#4F285C #5C3528 #355C28 #284F5C
split-complementary
#4F285C #4F5C28 #285C35
monochromatic
#120915 #2A1531 #4F285C #743B87 #984DB1

Accessibility & contrast

On white

11.73
#4F285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4F285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F285C
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F285C#FFFFFF#000000##FFFFFF
##4F285C1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365E
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#4F303E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f285c;
/* rgb */ color: rgb(79, 40, 92);
/* oklch */ color: oklch(35.2% 0.097 317.1);
Tailwind
colors: {
  custom: {
    50: '#82648a',
    500: '#4f285c',
    950: '#000000',
  },
}
SCSS
$custom: #4f285c;
$custom-light: #82648a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f285c",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 285,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.09725,
    "h": 317.1
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#4F285C
secondary
#608F51
accent
#CF5976
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4F285C

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

Preview Lab → · Contrast checker → · Palette generator →

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