#4F2071#4F2071

#4F2071 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.135 H 307.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#4F2071
RGBrgb(79, 32, 113)
HSLhsl(275, 56%, 28%)
HSVhsv(275, 72%, 44%)
CMYKcmyk(30.1%, 71.7%, 0%, 55.7%)
CIE-LABlab(23.30, 37.38, -37.82)
CIE-LCHlch(23.30, 53.18, 314.66°)
OKLaboklab(35.52% 0.0821 -0.1072)
OKLCHoklch(35.52% 0.135 307.4)
XYZxyz(6.7210, 3.8876, 16.0159)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2071 #427120
analogous
#262071 #4F2071 #71206A
triadic
#4F2071 #714F20 #20714F
tetradic
#4F2071 #712620 #427120 #206A71
square
#4F2071 #712620 #427120 #206A71
split-complementary
#4F2071 #6A7120 #207126
monochromatic
#110718 #2E1241 #4F2071 #702EA1 #9142C9

Accessibility & contrast

On white

11.81
#4F2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2071
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2071#FFFFFF#000000##FFFFFF
##4F20711.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#0B386F
Tritanopia (blue-blind)
#493246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2071;
/* rgb */ color: rgb(79, 32, 113);
/* oklch */ color: oklch(35.5% 0.135 307.4);
Tailwind
colors: {
  custom: {
    50: '#845f9a',
    500: '#4f2071',
    950: '#000000',
  },
}
SCSS
$custom: #4f2071;
$custom-light: #845f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2071",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 274.815,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35521,
    "c": 0.135,
    "h": 307.4
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#4F2071
secondary
#6FA548
accent
#DF4988
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2071

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

Preview Lab → · Contrast checker → · Palette generator →

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