#4F2D84#4F2D84

#4F2D84 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 297.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4F2D84
RGBrgb(79, 45, 132)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 66%, 52%)
CMYKcmyk(40.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(27.31, 35.38, -43.38)
CIE-LCHlch(27.31, 55.98, 309.20°)
OKLaboklab(38.87% 0.0643 -0.1236)
OKLCHoklch(38.87% 0.139 297.5)
XYZxyz(8.3266, 5.2048, 22.3913)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D84 #62842D
analogous
#2D3784 #4F2D84 #7B2D84
triadic
#4F2D84 #844F2D #2D844F
tetradic
#4F2D84 #842D37 #62842D #2D847B
square
#4F2D84 #842D37 #62842D #2D847B
split-complementary
#4F2D84 #847B2D #37842D
monochromatic
#180E29 #341D56 #4F2D84 #6A3DB2 #8A62C9

Accessibility & contrast

On white

10.29
#4F2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D84
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D84#FFFFFF#000000##FFFFFF
##4F2D841.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#424154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2d84;
/* rgb */ color: rgb(79, 45, 132);
/* oklch */ color: oklch(38.9% 0.139 297.5);
Tailwind
colors: {
  custom: {
    50: '#8568a8',
    500: '#4f2d84',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d84;
$custom-light: #8568a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d84",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 263.448,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.1393,
    "h": 297.5
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#4F2D84
secondary
#8FB05D
accent
#D94FA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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