#4F2C84#4F2C84

#4F2C84 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.141 H 297.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4F2C84
RGBrgb(79, 44, 132)
HSLhsl(264, 50%, 35%)
HSVhsv(264, 67%, 52%)
CMYKcmyk(40.2%, 66.7%, 0%, 48.2%)
CIE-LABlab(27.10, 35.95, -43.72)
CIE-LCHlch(27.10, 56.60, 309.43°)
OKLaboklab(38.71% 0.0655 -0.1246)
OKLCHoklch(38.71% 0.141 297.7)
XYZxyz(8.2889, 5.1294, 22.3787)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C84 #61842C
analogous
#2C3584 #4F2C84 #7B2C84
triadic
#4F2C84 #844F2C #2C844F
tetradic
#4F2C84 #842C35 #61842C #2C847B
square
#4F2C84 #842C35 #61842C #2C847B
split-complementary
#4F2C84 #847B2C #35842C
monochromatic
#180D28 #341D56 #4F2C84 #6A3BB2 #8A60CA

Accessibility & contrast

On white

10.37
#4F2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C84
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C84#FFFFFF#000000##FFFFFF
##4F2C841.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#424054
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2c84;
/* rgb */ color: rgb(79, 44, 132);
/* oklch */ color: oklch(38.7% 0.141 297.7);
Tailwind
colors: {
  custom: {
    50: '#8567a8',
    500: '#4f2c84',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c84;
$custom-light: #8567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c84",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 263.864,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.14074,
    "h": 297.7
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#4F2C84
secondary
#8FB05C
accent
#DA4EA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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