#7F2380#7F2380

#7F2380 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.167 H 327.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7F2380
RGBrgb(127, 35, 128)
HSLhsl(299, 57%, 32%)
HSVhsv(299, 73%, 50%)
CMYKcmyk(0.8%, 72.7%, 0%, 49.8%)
CIE-LABlab(32.42, 50.54, -32.30)
CIE-LCHlch(32.42, 59.98, 327.42°)
OKLaboklab(43.93% 0.1405 -0.0895)
OKLCHoklch(43.93% 0.167 327.5)
XYZxyz(13.2495, 7.2735, 21.1240)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2380 #248023
analogous
#512380 #7F2380 #802353
triadic
#7F2380 #807F23 #23807F
tetradic
#7F2380 #805123 #248023 #235380
square
#7F2380 #805123 #248023 #235380
split-complementary
#7F2380 #538023 #238051
monochromatic
#200920 #4F1650 #7F2380 #AF30B0 #CD4FCF

Accessibility & contrast

On white

8.56
#7F2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2380
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2380#FFFFFF#000000##FFFFFF
##7F23801.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#3B507E
Tritanopia (blue-blind)
#83314F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2380;
/* rgb */ color: rgb(127, 35, 128);
/* oklch */ color: oklch(43.9% 0.167 327.5);
Tailwind
colors: {
  custom: {
    50: '#a768a5',
    500: '#7f2380',
    950: '#000000',
  },
}
SCSS
$custom: #7f2380;
$custom-light: #a768a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2380",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 299.355,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43928,
    "c": 0.16656,
    "h": 327.5
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#7F2380
secondary
#4EB24D
accent
#E04749
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2380

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

Preview Lab → · Contrast checker → · Palette generator →

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