#4F2B84#4F2B84

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

Color values

HEX#4F2B84
RGBrgb(79, 43, 132)
HSLhsl(264, 51%, 34%)
HSVhsv(264, 67%, 52%)
CMYKcmyk(40.2%, 67.4%, 0%, 48.2%)
CIE-LABlab(26.89, 36.52, -44.05)
CIE-LCHlch(26.89, 57.22, 309.66°)
OKLaboklab(38.57% 0.0667 -0.1255)
OKLCHoklch(38.57% 0.142 298)
XYZxyz(8.2521, 5.0558, 22.3664)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B84 #60842B
analogous
#2B3484 #4F2B84 #7C2B84
triadic
#4F2B84 #844F2B #2B844F
tetradic
#4F2B84 #842B34 #60842B #2B847C
square
#4F2B84 #842B34 #60842B #2B847C
split-complementary
#4F2B84 #847C2B #34842B
monochromatic
#180D28 #331C56 #4F2B84 #6B3AB2 #8A5FCB

Accessibility & contrast

On white

10.44
#4F2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B84
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B84#FFFFFF#000000##FFFFFF
##4F2B841.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#423F53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2b84;
/* rgb */ color: rgb(79, 43, 132);
/* oklch */ color: oklch(38.6% 0.142 298.0);
Tailwind
colors: {
  custom: {
    50: '#8567a8',
    500: '#4f2b84',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b84;
$custom-light: #8567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b84",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 264.27,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.14216,
    "h": 298
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#4F2B84
secondary
#8EB15A
accent
#DA4DA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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