#7C2585#7C2585

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

Color values

HEX#7C2585
RGBrgb(124, 37, 133)
HSLhsl(294, 56%, 33%)
HSVhsv(294, 72%, 52%)
CMYKcmyk(6.8%, 72.2%, 0%, 47.8%)
CIE-LABlab(32.49, 49.98, -35.34)
CIE-LCHlch(32.49, 61.22, 324.74°)
OKLaboklab(43.97% 0.1348 -0.0984)
OKLCHoklch(43.97% 0.167 323.9)
XYZxyz(13.2070, 7.3025, 22.8996)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2585 #2E8525
analogous
#4C2585 #7C2585 #85255E
triadic
#7C2585 #857C25 #25857C
tetradic
#7C2585 #854C25 #2E8525 #255E85
square
#7C2585 #854C25 #2E8525 #255E85
split-complementary
#7C2585 #5E8525 #25854C
monochromatic
#230A25 #4F1855 #7C2585 #A932B5 #C455D0

Accessibility & contrast

On white

8.54
#7C2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2585
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2585#FFFFFF#000000##FFFFFF
##7C25851.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#7E3552
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2585;
/* rgb */ color: rgb(124, 37, 133);
/* oklch */ color: oklch(44.0% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#a568a9',
    500: '#7c2585',
    950: '#000000',
  },
}
SCSS
$custom: #7c2585;
$custom-light: #a568a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2585",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 294.375,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.1669,
    "h": 323.9
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#7C2585
secondary
#5BB452
accent
#E04856
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2585

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

Preview Lab → · Contrast checker → · Palette generator →

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