#7F2583#7F2583

#7F2583 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.167 H 326.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7F2583
RGBrgb(127, 37, 131)
HSLhsl(297, 56%, 33%)
HSVhsv(297, 72%, 51%)
CMYKcmyk(3.1%, 71.8%, 0%, 48.6%)
CIE-LABlab(32.86, 50.32, -33.46)
CIE-LCHlch(32.86, 60.43, 326.38°)
OKLaboklab(44.3% 0.1384 -0.0929)
OKLCHoklch(44.3% 0.167 326.1)
XYZxyz(13.5104, 7.4747, 22.1995)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2583 #298325
analogous
#502583 #7F2583 #832558
triadic
#7F2583 #837F25 #25837F
tetradic
#7F2583 #835025 #298325 #255883
square
#7F2583 #835025 #298325 #255883
split-complementary
#7F2583 #588325 #258350
monochromatic
#220A24 #511853 #7F2583 #AD32B3 #C954CF

Accessibility & contrast

On white

8.42
#7F2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2583
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2583#FFFFFF#000000##FFFFFF
##7F25831.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#823451
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2583;
/* rgb */ color: rgb(127, 37, 131);
/* oklch */ color: oklch(44.3% 0.167 326.1);
Tailwind
colors: {
  custom: {
    50: '#a769a7',
    500: '#7f2583',
    950: '#000000',
  },
}
SCSS
$custom: #7f2583;
$custom-light: #a769a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2583",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 297.447,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.16666,
    "h": 326.1
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#7F2583
secondary
#55B351
accent
#DF494F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2583

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

Preview Lab → · Contrast checker → · Palette generator →

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