#7B2492#7B2492

#7B2492 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.179 H 318.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7B2492
RGBrgb(123, 36, 146)
HSLhsl(287, 60%, 36%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(15.8%, 75.3%, 0%, 42.7%)
CIE-LABlab(33.02, 52.66, -42.52)
CIE-LCHlch(33.02, 67.68, 321.08°)
OKLaboklab(44.59% 0.1337 -0.1195)
OKLCHoklch(44.59% 0.179 318.2)
XYZxyz(13.9868, 7.5487, 27.9088)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2492 #3B9224
analogous
#442492 #7B2492 #922472
triadic
#7B2492 #927B24 #24927B
tetradic
#7B2492 #924424 #3B9224 #247292
square
#7B2492 #924424 #3B9224 #247292
split-complementary
#7B2492 #729224 #249244
monochromatic
#280C30 #521861 #7B2492 #A430C3 #BC5AD6

Accessibility & contrast

On white

8.37
#7B2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2492
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2492#FFFFFF#000000##FFFFFF
##7B24921.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#7A3B59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2492;
/* rgb */ color: rgb(123, 36, 146);
/* oklch */ color: oklch(44.6% 0.179 318.2);
Tailwind
colors: {
  custom: {
    50: '#a568b3',
    500: '#7b2492',
    950: '#000000',
  },
}
SCSS
$custom: #7b2492;
$custom-light: #a568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2492",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 287.455,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.17929,
    "h": 318.2
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#7B2492
secondary
#6CBB57
accent
#E44466
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2492

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

Preview Lab → · Contrast checker → · Palette generator →

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