#4F2C82#4F2C82

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

Color values

HEX#4F2C82
RGBrgb(79, 44, 130)
HSLhsl(264, 49%, 34%)
HSVhsv(264, 66%, 51%)
CMYKcmyk(39.2%, 66.2%, 0%, 49%)
CIE-LABlab(26.95, 35.39, -42.71)
CIE-LCHlch(26.95, 55.47, 309.65°)
OKLaboklab(38.56% 0.0657 -0.1216)
OKLCHoklch(38.56% 0.138 298.4)
XYZxyz(8.1534, 5.0752, 21.6648)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C82 #5F822C
analogous
#2C3482 #4F2C82 #7A2C82
triadic
#4F2C82 #824F2C #2C824F
tetradic
#4F2C82 #822C34 #5F822C #2C827A
square
#4F2C82 #822C34 #5F822C #2C827A
split-complementary
#4F2C82 #827A2C #34822C
monochromatic
#170D27 #331D54 #4F2C82 #6B3BB0 #8A5FC9

Accessibility & contrast

On white

10.42
#4F2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2C82
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C82#FFFFFF#000000##FFFFFF
##4F2C821.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#433F53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2c82;
/* rgb */ color: rgb(79, 44, 130);
/* oklch */ color: oklch(38.6% 0.138 298.4);
Tailwind
colors: {
  custom: {
    50: '#8567a7',
    500: '#4f2c82',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c82;
$custom-light: #8567a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c82",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 264.419,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.13822,
    "h": 298.4
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#4F2C82
secondary
#8DAF5B
accent
#D94FA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4F2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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