#4F2072#4F2072

#4F2072 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.136 H 307.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4F2072
RGBrgb(79, 32, 114)
HSLhsl(274, 56%, 29%)
HSVhsv(274, 72%, 45%)
CMYKcmyk(30.7%, 71.9%, 0%, 55.3%)
CIE-LABlab(23.37, 37.63, -38.34)
CIE-LCHlch(23.37, 53.72, 314.46°)
OKLaboklab(35.6% 0.0819 -0.1087)
OKLCHoklch(35.6% 0.136 307)
XYZxyz(6.7776, 3.9103, 16.3140)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2072 #437220
analogous
#262072 #4F2072 #72206C
triadic
#4F2072 #724F20 #20724F
tetradic
#4F2072 #722620 #437220 #206C72
square
#4F2072 #722620 #437220 #206C72
split-complementary
#4F2072 #6C7220 #207226
monochromatic
#110718 #2E1342 #4F2072 #702DA2 #9042CA

Accessibility & contrast

On white

11.78
#4F2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4F2072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2072
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2072#FFFFFF#000000##FFFFFF
##4F20721.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#493246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2072;
/* rgb */ color: rgb(79, 32, 114);
/* oklch */ color: oklch(35.6% 0.136 307.0);
Tailwind
colors: {
  custom: {
    50: '#84609b',
    500: '#4f2072',
    950: '#000000',
  },
}
SCSS
$custom: #4f2072;
$custom-light: #84609b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2072",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 274.39,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.356,
    "c": 0.13613,
    "h": 307
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#4F2072
secondary
#70A648
accent
#DF4889
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2072

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

Preview Lab → · Contrast checker → · Palette generator →

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