#7F2484#7F2484

#7F2484 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.169 H 325.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7F2484
RGBrgb(127, 36, 132)
HSLhsl(297, 57%, 33%)
HSVhsv(297, 73%, 52%)
CMYKcmyk(3.8%, 72.7%, 0%, 48.2%)
CIE-LABlab(32.79, 50.88, -34.21)
CIE-LCHlch(32.79, 61.31, 326.09°)
OKLaboklab(44.27% 0.1394 -0.095)
OKLCHoklch(44.27% 0.169 325.7)
XYZxyz(13.5478, 7.4406, 22.5479)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2484 #298424
analogous
#4F2484 #7F2484 #842459
triadic
#7F2484 #847F24 #24847F
tetradic
#7F2484 #844F24 #298424 #245984
square
#7F2484 #844F24 #298424 #245984
split-complementary
#7F2484 #598424 #24844F
monochromatic
#220A24 #511754 #7F2484 #AD31B4 #C952D0

Accessibility & contrast

On white

8.44
#7F2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2484
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2484#FFFFFF#000000##FFFFFF
##7F24841.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#823451
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2484;
/* rgb */ color: rgb(127, 36, 132);
/* oklch */ color: oklch(44.3% 0.169 325.7);
Tailwind
colors: {
  custom: {
    50: '#a768a8',
    500: '#7f2484',
    950: '#000000',
  },
}
SCSS
$custom: #7f2484;
$custom-light: #a768a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2484",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 296.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.16874,
    "h": 325.7
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#7F2484
secondary
#55B450
accent
#E0474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2484

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

Preview Lab → · Contrast checker → · Palette generator →

#7F2484 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva