#4F2C85#4F2C85

#4F2C85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.142 H 297.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4F2C85
RGBrgb(79, 44, 133)
HSLhsl(264, 50%, 35%)
HSVhsv(264, 67%, 52%)
CMYKcmyk(40.6%, 66.9%, 0%, 47.8%)
CIE-LABlab(27.18, 36.23, -44.22)
CIE-LCHlch(27.18, 57.17, 309.33°)
OKLaboklab(38.79% 0.0654 -0.126)
OKLCHoklch(38.79% 0.142 297.4)
XYZxyz(8.3577, 5.1569, 22.7408)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C85 #62852C
analogous
#2C3585 #4F2C85 #7C2C85
triadic
#4F2C85 #854F2C #2C854F
tetradic
#4F2C85 #852C35 #62852C #2C857C
square
#4F2C85 #852C35 #62852C #2C857C
split-complementary
#4F2C85 #857C2C #35852C
monochromatic
#180E29 #341D57 #4F2C85 #6A3BB3 #8A61CB

Accessibility & contrast

On white

10.34
#4F2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2C85
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C85#FFFFFF#000000##FFFFFF
##4F2C851.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2c85;
/* rgb */ color: rgb(79, 44, 133);
/* oklch */ color: oklch(38.8% 0.142 297.4);
Tailwind
colors: {
  custom: {
    50: '#8567a9',
    500: '#4f2c85',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c85;
$custom-light: #8567a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c85",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 263.596,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.14199,
    "h": 297.4
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#4F2C85
secondary
#8FB15C
accent
#DA4EA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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