#4F2F84#4F2F84

#4F2F84 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.136 H 297.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4F2F84
RGBrgb(79, 47, 132)
HSLhsl(263, 47%, 35%)
HSVhsv(263, 64%, 52%)
CMYKcmyk(40.2%, 64.4%, 0%, 48.2%)
CIE-LABlab(27.74, 34.22, -42.68)
CIE-LCHlch(27.74, 54.71, 308.72°)
OKLaboklab(39.18% 0.0619 -0.1215)
OKLCHoklch(39.18% 0.136 297)
XYZxyz(8.4048, 5.3611, 22.4173)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F84 #64842F
analogous
#2F3A84 #4F2F84 #792F84
triadic
#4F2F84 #844F2F #2F844F
tetradic
#4F2F84 #842F3A #64842F #2F8479
square
#4F2F84 #842F3A #64842F #2F8479
split-complementary
#4F2F84 #84792F #3A842F
monochromatic
#190F2A #341F57 #4F2F84 #6A3FB1 #8A65C8

Accessibility & contrast

On white

10.13
#4F2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F84
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F84#FFFFFF#000000##FFFFFF
##4F2F841.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#024082
Tritanopia (blue-blind)
#424255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2f84;
/* rgb */ color: rgb(79, 47, 132);
/* oklch */ color: oklch(39.2% 0.136 297.0);
Tailwind
colors: {
  custom: {
    50: '#8569a8',
    500: '#4f2f84',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f84;
$custom-light: #8569a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f84",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 262.588,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.13637,
    "h": 297
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#4F2F84
secondary
#91AF60
accent
#D751A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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