#7B296F#7B296F

#7B296F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.142 H 334.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7B296F
RGBrgb(123, 41, 111)
HSLhsl(309, 50%, 32%)
HSVhsv(309, 67%, 48%)
CMYKcmyk(0%, 66.7%, 9.8%, 51.8%)
CIE-LABlab(31.68, 44.12, -22.78)
CIE-LCHlch(31.68, 49.65, 332.69°)
OKLaboklab(42.96% 0.1277 -0.0622)
OKLCHoklch(42.96% 0.142 334)
XYZxyz(11.8306, 6.9455, 15.7534)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B296F #297B35
analogous
#5E297B #7B296F #7B2946
triadic
#7B296F #6F7B29 #296F7B
tetradic
#7B296F #7B5E29 #297B35 #29467B
square
#7B296F #7B5E29 #297B35 #29467B
split-complementary
#7B296F #467B29 #297B5E
monochromatic
#1F0A1C #4D1A46 #7B296F #A93898 #C757B7

Accessibility & contrast

On white

8.79
#7B296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B296F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B296F#FFFFFF#000000##FFFFFF
##7B296F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#812F48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b296f;
/* rgb */ color: rgb(123, 41, 111);
/* oklch */ color: oklch(43.0% 0.142 334.0);
Tailwind
colors: {
  custom: {
    50: '#a46998',
    500: '#7b296f',
    950: '#000000',
  },
}
SCSS
$custom: #7b296f;
$custom-light: #a46998;
$custom-dark: #000000;
JSON
{
  "hex": "#7b296f",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 308.78,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.14206,
    "h": 334
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#7B296F
secondary
#53AC60
accent
#DA634E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B296F

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

Preview Lab → · Contrast checker → · Palette generator →

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