#7B2388#7B2388

#7B2388 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 322.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7B2388
RGBrgb(123, 35, 136)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 53%)
CMYKcmyk(9.6%, 74.3%, 0%, 46.7%)
CIE-LABlab(32.24, 51.09, -37.61)
CIE-LCHlch(32.24, 63.44, 323.64°)
OKLaboklab(43.82% 0.1355 -0.1051)
OKLCHoklch(43.82% 0.171 322.2)
XYZxyz(13.2129, 7.1913, 23.9799)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2388 #308823
analogous
#482388 #7B2388 #882362
triadic
#7B2388 #887B23 #23887B
tetradic
#7B2388 #884823 #308823 #236288
square
#7B2388 #884823 #308823 #236288
split-complementary
#7B2388 #628823 #238848
monochromatic
#230A27 #4F1657 #7B2388 #A730B9 #C253D3

Accessibility & contrast

On white

8.61
#7B2388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7B2388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2388
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2388#FFFFFF#000000##FFFFFF
##7B23881.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#7D3653
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2388;
/* rgb */ color: rgb(123, 35, 136);
/* oklch */ color: oklch(43.8% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a467ab',
    500: '#7b2388',
    950: '#000000',
  },
}
SCSS
$custom: #7b2388;
$custom-light: #a467ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2388",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 292.277,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43822,
    "c": 0.17149,
    "h": 322.2
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#7B2388
secondary
#5DB750
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2388

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

Preview Lab → · Contrast checker → · Palette generator →

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