#7F2382#7F2382

#7F2382 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.168 H 326.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7F2382
RGBrgb(127, 35, 130)
HSLhsl(298, 58%, 32%)
HSVhsv(298, 73%, 51%)
CMYKcmyk(2.3%, 73.1%, 0%, 49%)
CIE-LABlab(32.54, 50.90, -33.36)
CIE-LCHlch(32.54, 60.85, 326.76°)
OKLaboklab(44.05% 0.1405 -0.0926)
OKLCHoklch(44.05% 0.168 326.6)
XYZxyz(13.3825, 7.3267, 21.8241)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2382 #268223
analogous
#4F2382 #7F2382 #822356
triadic
#7F2382 #827F23 #23827F
tetradic
#7F2382 #824F23 #268223 #235682
square
#7F2382 #824F23 #268223 #235682
split-complementary
#7F2382 #568223 #23824F
monochromatic
#210922 #501652 #7F2382 #AE30B2 #CC50D0

Accessibility & contrast

On white

8.52
#7F2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2382
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2382#FFFFFF#000000##FFFFFF
##7F23821.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#395180
Tritanopia (blue-blind)
#833250
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2382;
/* rgb */ color: rgb(127, 35, 130);
/* oklch */ color: oklch(44.0% 0.168 326.6);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7f2382',
    950: '#000000',
  },
}
SCSS
$custom: #7f2382;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2382",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 298.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.16824,
    "h": 326.6
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#7F2382
secondary
#51B34D
accent
#E1474C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2382

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

Preview Lab → · Contrast checker → · Palette generator →

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