#4F2073#4F2073

#4F2073 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.137 H 306.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4F2073
RGBrgb(79, 32, 115)
HSLhsl(274, 56%, 29%)
HSVhsv(274, 72%, 45%)
CMYKcmyk(31.3%, 72.2%, 0%, 54.9%)
CIE-LABlab(23.45, 37.88, -38.86)
CIE-LCHlch(23.45, 54.27, 314.27°)
OKLaboklab(35.68% 0.0818 -0.1102)
OKLCHoklch(35.68% 0.137 306.6)
XYZxyz(6.8348, 3.9332, 16.6154)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2073 #447320
analogous
#262073 #4F2073 #73206E
triadic
#4F2073 #734F20 #20734F
tetradic
#4F2073 #732620 #447320 #206E73
square
#4F2073 #732620 #447320 #206E73
split-complementary
#4F2073 #6E7320 #207326
monochromatic
#100718 #2E1343 #4F2073 #702DA3 #9043CB

Accessibility & contrast

On white

11.75
#4F2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2073
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2073#FFFFFF#000000##FFFFFF
##4F20731.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#073871
Tritanopia (blue-blind)
#493347
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2073;
/* rgb */ color: rgb(79, 32, 115);
/* oklch */ color: oklch(35.7% 0.137 306.6);
Tailwind
colors: {
  custom: {
    50: '#84609c',
    500: '#4f2073',
    950: '#000000',
  },
}
SCSS
$custom: #4f2073;
$custom-light: #84609c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2073",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 273.976,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.13728,
    "h": 306.6
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#4F2073
secondary
#71A748
accent
#E0488A
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2073

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

Preview Lab → · Contrast checker → · Palette generator →

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