#7B2583#7B2583

#7B2583 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.165 H 324.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7B2583
RGBrgb(123, 37, 131)
HSLhsl(295, 56%, 33%)
HSVhsv(295, 72%, 51%)
CMYKcmyk(6.1%, 71.8%, 0%, 48.6%)
CIE-LABlab(32.20, 49.37, -34.56)
CIE-LCHlch(32.20, 60.27, 325.01°)
OKLaboklab(43.69% 0.1336 -0.0962)
OKLCHoklch(43.69% 0.165 324.2)
XYZxyz(12.9263, 7.1736, 22.1721)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2583 #2D8325
analogous
#4C2583 #7B2583 #83255C
triadic
#7B2583 #837B25 #25837B
tetradic
#7B2583 #834C25 #2D8325 #255C83
square
#7B2583 #834C25 #2D8325 #255C83
split-complementary
#7B2583 #5C8325 #25834C
monochromatic
#210A24 #4E1853 #7B2583 #A832B3 #C454CF

Accessibility & contrast

On white

8.63
#7B2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2583
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2583#FFFFFF#000000##FFFFFF
##7B25831.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#7D3551
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2583;
/* rgb */ color: rgb(123, 37, 131);
/* oklch */ color: oklch(43.7% 0.165 324.2);
Tailwind
colors: {
  custom: {
    50: '#a468a7',
    500: '#7b2583',
    950: '#000000',
  },
}
SCSS
$custom: #7b2583;
$custom-light: #a468a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2583",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 294.894,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.16465,
    "h": 324.2
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#7B2583
secondary
#59B351
accent
#DF4955
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B2583

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

Preview Lab → · Contrast checker → · Palette generator →

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