#7B2575#7B2575

#7B2575 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.153 H 330.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7B2575
RGBrgb(123, 37, 117)
HSLhsl(304, 54%, 31%)
HSVhsv(304, 70%, 48%)
CMYKcmyk(0%, 69.9%, 4.9%, 51.8%)
CIE-LABlab(31.39, 46.84, -27.05)
CIE-LCHlch(31.39, 54.09, 330.00°)
OKLaboklab(42.85% 0.1333 -0.0744)
OKLCHoklch(42.85% 0.153 330.8)
XYZxyz(12.0408, 6.8194, 17.5083)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2575 #257B2B
analogous
#56257B #7B2575 #7B254A
triadic
#7B2575 #757B25 #25757B
tetradic
#7B2575 #7B5625 #257B2B #254A7B
square
#7B2575 #7B5625 #257B2B #254A7B
split-complementary
#7B2575 #4A7B25 #257B56
monochromatic
#1D091B #4C1748 #7B2575 #AA33A2 #CA50C2

Accessibility & contrast

On white

8.88
#7B2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2575
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2575#FFFFFF#000000##FFFFFF
##7B25751.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#802F4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2575;
/* rgb */ color: rgb(123, 37, 117);
/* oklch */ color: oklch(42.9% 0.153 330.8);
Tailwind
colors: {
  custom: {
    50: '#a4679d',
    500: '#7b2575',
    950: '#000000',
  },
}
SCSS
$custom: #7b2575;
$custom-light: #a4679d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2575",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 304.186,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.15262,
    "h": 330.8
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#7B2575
secondary
#4FAD55
accent
#DD554B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2575

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

Preview Lab → · Contrast checker → · Palette generator →

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