#7B2592#7B2592

#7B2592 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 318.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7B2592
RGBrgb(123, 37, 146)
HSLhsl(287, 60%, 36%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(15.8%, 74.7%, 0%, 42.7%)
CIE-LABlab(33.16, 52.28, -42.31)
CIE-LCHlch(33.16, 67.26, 321.02°)
OKLaboklab(44.69% 0.1327 -0.1188)
OKLCHoklch(44.69% 0.178 318.2)
XYZxyz(14.0175, 7.6100, 27.9191)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2592 #3C9225
analogous
#442592 #7B2592 #922572
triadic
#7B2592 #927B25 #25927B
tetradic
#7B2592 #924425 #3C9225 #257292
square
#7B2592 #924425 #3C9225 #257292
split-complementary
#7B2592 #729225 #259244
monochromatic
#290C30 #521961 #7B2592 #A431C3 #BC5CD6

Accessibility & contrast

On white

8.33
#7B2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2592
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2592#FFFFFF#000000##FFFFFF
##7B25921.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#7A3B5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2592;
/* rgb */ color: rgb(123, 37, 146);
/* oklch */ color: oklch(44.7% 0.178 318.2);
Tailwind
colors: {
  custom: {
    50: '#a569b3',
    500: '#7b2592',
    950: '#000000',
  },
}
SCSS
$custom: #7b2592;
$custom-light: #a569b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2592",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 287.339,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.17814,
    "h": 318.2
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#7B2592
secondary
#6DBA58
accent
#E34566
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2592

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

Preview Lab → · Contrast checker → · Palette generator →

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