#7B2589#7B2589

#7B2589 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.170 H 321.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7B2589
RGBrgb(123, 37, 137)
HSLhsl(292, 57%, 34%)
HSVhsv(292, 73%, 54%)
CMYKcmyk(10.2%, 73%, 0%, 46.3%)
CIE-LABlab(32.57, 50.52, -37.70)
CIE-LCHlch(32.57, 63.03, 323.27°)
OKLaboklab(44.08% 0.1334 -0.1054)
OKLCHoklch(44.08% 0.17 321.7)
XYZxyz(13.3448, 7.3410, 24.3761)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2589 #338925
analogous
#492589 #7B2589 #892565
triadic
#7B2589 #897B25 #25897B
tetradic
#7B2589 #894925 #338925 #256589
square
#7B2589 #894925 #338925 #256589
split-complementary
#7B2589 #658925 #258949
monochromatic
#240B29 #501859 #7B2589 #A632B9 #C057D2

Accessibility & contrast

On white

8.51
#7B2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2589
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2589#FFFFFF#000000##FFFFFF
##7B25891.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7C3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2589;
/* rgb */ color: rgb(123, 37, 137);
/* oklch */ color: oklch(44.1% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#a468ac',
    500: '#7b2589',
    950: '#000000',
  },
}
SCSS
$custom: #7b2589;
$custom-light: #a468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2589",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 291.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.16999,
    "h": 321.7
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#7B2589
secondary
#62B654
accent
#E1475D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2589

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

Preview Lab → · Contrast checker → · Palette generator →

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