#7F2483#7F2483

#7F2483 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.168 H 326.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7F2483
RGBrgb(127, 36, 131)
HSLhsl(297, 57%, 33%)
HSVhsv(297, 73%, 51%)
CMYKcmyk(3.1%, 72.5%, 0%, 48.6%)
CIE-LABlab(32.73, 50.70, -33.68)
CIE-LCHlch(32.73, 60.87, 326.41°)
OKLaboklab(44.21% 0.1394 -0.0935)
OKLCHoklch(44.21% 0.168 326.2)
XYZxyz(13.4797, 7.4134, 22.1893)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2483 #288324
analogous
#502483 #7F2483 #832457
triadic
#7F2483 #837F24 #24837F
tetradic
#7F2483 #835024 #288324 #245783
square
#7F2483 #835024 #288324 #245783
split-complementary
#7F2483 #578324 #248350
monochromatic
#220A23 #501753 #7F2483 #AE31B3 #CA52CF

Accessibility & contrast

On white

8.46
#7F2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2483
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2483#FFFFFF#000000##FFFFFF
##7F24831.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#823351
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2483;
/* rgb */ color: rgb(127, 36, 131);
/* oklch */ color: oklch(44.2% 0.168 326.2);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7f2483',
    950: '#000000',
  },
}
SCSS
$custom: #7f2483;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2483",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 297.474,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.16788,
    "h": 326.2
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#7F2483
secondary
#54B34F
accent
#E0484E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2483

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

Preview Lab → · Contrast checker → · Palette generator →

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