#4F2C83#4F2C83

#4F2C83 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.139 H 298.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4F2C83
RGBrgb(79, 44, 131)
HSLhsl(264, 50%, 34%)
HSVhsv(264, 66%, 51%)
CMYKcmyk(39.7%, 66.4%, 0%, 48.6%)
CIE-LABlab(27.02, 35.67, -43.22)
CIE-LCHlch(27.02, 56.04, 309.54°)
OKLaboklab(38.64% 0.0656 -0.1231)
OKLCHoklch(38.64% 0.139 298.1)
XYZxyz(8.2208, 5.1022, 22.0200)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C83 #60832C
analogous
#2C3583 #4F2C83 #7B2C83
triadic
#4F2C83 #834F2C #2C834F
tetradic
#4F2C83 #832C35 #60832C #2C837B
square
#4F2C83 #832C35 #60832C #2C837B
split-complementary
#4F2C83 #837B2C #35832C
monochromatic
#180D27 #331D55 #4F2C83 #6B3BB1 #8A60CA

Accessibility & contrast

On white

10.39
#4F2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C83
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C83#FFFFFF#000000##FFFFFF
##4F2C831.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#434053
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2c83;
/* rgb */ color: rgb(79, 44, 131);
/* oklch */ color: oklch(38.6% 0.139 298.1);
Tailwind
colors: {
  custom: {
    50: '#8567a8',
    500: '#4f2c83',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c83;
$custom-light: #8567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c83",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 264.138,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.13948,
    "h": 298.1
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#4F2C83
secondary
#8EB05B
accent
#D94FA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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