#7B2574#7B2574

#7B2574 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 331.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7B2574
RGBrgb(123, 37, 116)
HSLhsl(305, 54%, 31%)
HSVhsv(305, 70%, 48%)
CMYKcmyk(0%, 69.9%, 5.7%, 51.8%)
CIE-LABlab(31.34, 46.67, -26.50)
CIE-LCHlch(31.34, 53.67, 330.41°)
OKLaboklab(42.8% 0.1332 -0.0728)
OKLCHoklch(42.8% 0.152 331.3)
XYZxyz(11.9823, 6.7960, 17.2003)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2574 #257B2C
analogous
#57257B #7B2574 #7B2549
triadic
#7B2574 #747B25 #25747B
tetradic
#7B2574 #7B5725 #257B2C #25497B
square
#7B2574 #7B5725 #257B2C #25497B
split-complementary
#7B2574 #497B25 #257B57
monochromatic
#1D091B #4C1748 #7B2574 #AA33A0 #CA50C0

Accessibility & contrast

On white

8.90
#7B2574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B2574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2574
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2574#FFFFFF#000000##FFFFFF
##7B25741.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#802E49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2574;
/* rgb */ color: rgb(123, 37, 116);
/* oklch */ color: oklch(42.8% 0.152 331.3);
Tailwind
colors: {
  custom: {
    50: '#a4679c',
    500: '#7b2574',
    950: '#000000',
  },
}
SCSS
$custom: #7b2574;
$custom-light: #a4679c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2574",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 304.884,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.15178,
    "h": 331.3
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#7B2574
secondary
#4FAD56
accent
#DD574B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2574

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

Preview Lab → · Contrast checker → · Palette generator →

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