#4F2C86#4F2C86

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

Color values

HEX#4F2C86
RGBrgb(79, 44, 134)
HSLhsl(263, 51%, 35%)
HSVhsv(263, 67%, 53%)
CMYKcmyk(41%, 67.2%, 0%, 47.5%)
CIE-LABlab(27.25, 36.51, -44.72)
CIE-LCHlch(27.25, 57.73, 309.23°)
OKLaboklab(38.87% 0.0653 -0.1275)
OKLCHoklch(38.87% 0.143 297.1)
XYZxyz(8.4271, 5.1847, 23.1064)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C86 #63862C
analogous
#2C3686 #4F2C86 #7C2C86
triadic
#4F2C86 #864F2C #2C864F
tetradic
#4F2C86 #862C36 #63862C #2C867C
square
#4F2C86 #862C36 #63862C #2C867C
split-complementary
#4F2C86 #867C2C #36862C
monochromatic
#190E2A #341D58 #4F2C86 #6A3BB4 #8A61CB

Accessibility & contrast

On white

10.31
#4F2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2C86
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C86#FFFFFF#000000##FFFFFF
##4F2C861.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#414155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2c86;
/* rgb */ color: rgb(79, 44, 134);
/* oklch */ color: oklch(38.9% 0.143 297.1);
Tailwind
colors: {
  custom: {
    50: '#8567aa',
    500: '#4f2c86',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c86;
$custom-light: #8567aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c86",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 263.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.14324,
    "h": 297.1
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#4F2C86
secondary
#90B15C
accent
#DA4EA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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