#7B2292#7B2292

#7B2292 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.181 H 318.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7B2292
RGBrgb(123, 34, 146)
HSLhsl(288, 62%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(32.77, 53.40, -42.93)
CIE-LCHlch(32.77, 68.51, 321.20°)
OKLaboklab(44.41% 0.1356 -0.1207)
OKLCHoklch(44.41% 0.182 318.3)
XYZxyz(13.9280, 7.4310, 27.8892)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2292 #399222
analogous
#432292 #7B2292 #922271
triadic
#7B2292 #927B22 #22927B
tetradic
#7B2292 #924322 #399222 #227192
square
#7B2292 #924322 #399222 #227192
split-complementary
#7B2292 #719222 #229243
monochromatic
#270B2F #511660 #7B2292 #A52EC4 #BD57D8

Accessibility & contrast

On white

8.45
#7B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2292
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2292#FFFFFF#000000##FFFFFF
##7B22921.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#285090
Tritanopia (blue-blind)
#7A3A59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2292;
/* rgb */ color: rgb(123, 34, 146);
/* oklch */ color: oklch(44.4% 0.181 318.3);
Tailwind
colors: {
  custom: {
    50: '#a567b3',
    500: '#7b2292',
    950: '#000000',
  },
}
SCSS
$custom: #7b2292;
$custom-light: #a567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2292",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 287.679,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.1815,
    "h": 318.3
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#7B2292
secondary
#69BC54
accent
#E54364
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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