#7B296E#7B296E

#7B296E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.141 H 334.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7B296E
RGBrgb(123, 41, 110)
HSLhsl(310, 50%, 32%)
HSVhsv(310, 67%, 48%)
CMYKcmyk(0%, 66.7%, 10.6%, 51.8%)
CIE-LABlab(31.63, 43.95, -22.23)
CIE-LCHlch(31.63, 49.25, 333.17°)
OKLaboklab(42.91% 0.1276 -0.0606)
OKLCHoklch(42.91% 0.141 334.6)
XYZxyz(11.7759, 6.9236, 15.4650)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B296E #297B36
analogous
#5F297B #7B296E #7B2945
triadic
#7B296E #6E7B29 #296E7B
tetradic
#7B296E #7B5F29 #297B36 #29457B
square
#7B296E #7B5F29 #297B36 #29457B
split-complementary
#7B296E #457B29 #297B5F
monochromatic
#1F0A1C #4D1A45 #7B296E #A93897 #C757B5

Accessibility & contrast

On white

8.81
#7B296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B296E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B296E#FFFFFF#000000##FFFFFF
##7B296E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#812F47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b296e;
/* rgb */ color: rgb(123, 41, 110);
/* oklch */ color: oklch(42.9% 0.141 334.6);
Tailwind
colors: {
  custom: {
    50: '#a46998',
    500: '#7b296e',
    950: '#000000',
  },
}
SCSS
$custom: #7b296e;
$custom-light: #a46998;
$custom-dark: #000000;
JSON
{
  "hex": "#7b296e",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 309.512,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42908,
    "c": 0.14125,
    "h": 334.6
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#7B296E
secondary
#53AC62
accent
#DA644E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B296E

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

Preview Lab → · Contrast checker → · Palette generator →

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