#7B2288#7B2288

#7B2288 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.173 H 322.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7B2288
RGBrgb(123, 34, 136)
HSLhsl(292, 60%, 33%)
HSVhsv(292, 75%, 53%)
CMYKcmyk(9.6%, 75%, 0%, 46.7%)
CIE-LABlab(32.11, 51.46, -37.82)
CIE-LCHlch(32.11, 63.86, 323.69°)
OKLaboklab(43.73% 0.1365 -0.1057)
OKLCHoklch(43.73% 0.173 322.3)
XYZxyz(13.1839, 7.1333, 23.9702)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2288 #2F8822
analogous
#482288 #7B2288 #882262
triadic
#7B2288 #887B22 #22887B
tetradic
#7B2288 #884822 #2F8822 #226288
square
#7B2288 #884822 #2F8822 #226288
split-complementary
#7B2288 #628822 #228848
monochromatic
#220A26 #4F1657 #7B2288 #A72EB9 #C351D3

Accessibility & contrast

On white

8.65
#7B2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2288
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2288#FFFFFF#000000##FFFFFF
##7B22881.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2288;
/* rgb */ color: rgb(123, 34, 136);
/* oklch */ color: oklch(43.7% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#a567ab',
    500: '#7b2288',
    950: '#000000',
  },
}
SCSS
$custom: #7b2288;
$custom-light: #a567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2288",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 292.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.17265,
    "h": 322.3
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#7B2288
secondary
#5CB74F
accent
#E34559
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2288

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

Preview Lab → · Contrast checker → · Palette generator →

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