#4F2A84#4F2A84

#4F2A84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.144 H 298.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4F2A84
RGBrgb(79, 42, 132)
HSLhsl(265, 52%, 34%)
HSVhsv(265, 68%, 52%)
CMYKcmyk(40.2%, 68.2%, 0%, 48.2%)
CIE-LABlab(26.69, 37.07, -44.38)
CIE-LCHlch(26.69, 57.83, 309.87°)
OKLaboklab(38.42% 0.0678 -0.1265)
OKLCHoklch(38.42% 0.144 298.2)
XYZxyz(8.2162, 4.9840, 22.3545)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A84 #5F842A
analogous
#2A3284 #4F2A84 #7C2A84
triadic
#4F2A84 #844F2A #2A844F
tetradic
#4F2A84 #842A32 #5F842A #2A847C
square
#4F2A84 #842A32 #5F842A #2A847C
split-complementary
#4F2A84 #847C2A #32842A
monochromatic
#170C27 #331B56 #4F2A84 #6B39B2 #8A5DCB

Accessibility & contrast

On white

10.52
#4F2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A84
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A84#FFFFFF#000000##FFFFFF
##4F2A841.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#423F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2a84;
/* rgb */ color: rgb(79, 42, 132);
/* oklch */ color: oklch(38.4% 0.144 298.2);
Tailwind
colors: {
  custom: {
    50: '#8566a8',
    500: '#4f2a84',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a84;
$custom-light: #8566a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a84",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 264.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.14356,
    "h": 298.2
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#4F2A84
secondary
#8DB159
accent
#DB4DA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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