#7B2392#7B2392

#7B2392 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.180 H 318.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7B2392
RGBrgb(123, 35, 146)
HSLhsl(288, 61%, 35%)
HSVhsv(288, 76%, 57%)
CMYKcmyk(15.8%, 76%, 0%, 42.7%)
CIE-LABlab(32.90, 53.03, -42.73)
CIE-LCHlch(32.90, 68.10, 321.14°)
OKLaboklab(44.5% 0.1347 -0.1201)
OKLCHoklch(44.5% 0.18 318.3)
XYZxyz(13.9570, 7.4890, 27.8989)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2392 #3A9223
analogous
#442392 #7B2392 #922371
triadic
#7B2392 #927B23 #23927B
tetradic
#7B2392 #924423 #3A9223 #237192
square
#7B2392 #924423 #3A9223 #237192
split-complementary
#7B2392 #719223 #239244
monochromatic
#280B2F #511761 #7B2392 #A52FC3 #BD58D7

Accessibility & contrast

On white

8.41
#7B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2392
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2392#FFFFFF#000000##FFFFFF
##7B23921.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2392;
/* rgb */ color: rgb(123, 35, 146);
/* oklch */ color: oklch(44.5% 0.180 318.3);
Tailwind
colors: {
  custom: {
    50: '#a568b3',
    500: '#7b2392',
    950: '#000000',
  },
}
SCSS
$custom: #7b2392;
$custom-light: #a568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2392",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 287.568,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44499,
    "c": 0.18041,
    "h": 318.3
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#7B2392
secondary
#6BBB55
accent
#E44365
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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