#7B1775#7B1775

#7B1775 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.169 H 330.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7B1775
RGBrgb(123, 23, 117)
HSLhsl(304, 68%, 29%)
HSVhsv(304, 81%, 48%)
CMYKcmyk(0%, 81.3%, 4.9%, 51.8%)
CIE-LABlab(29.69, 51.70, -29.74)
CIE-LCHlch(29.69, 59.64, 330.09°)
OKLaboklab(41.63% 0.1473 -0.0821)
OKLCHoklch(41.63% 0.169 330.9)
XYZxyz(11.6856, 6.1091, 17.3899)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1775 #177B1D
analogous
#4F177B #7B1775 #7B1743
triadic
#7B1775 #757B17 #17757B
tetradic
#7B1775 #7B4F17 #177B1D #17437B
square
#7B1775 #7B4F17 #177B1D #17437B
split-complementary
#7B1775 #437B17 #177B4F
monochromatic
#1A0519 #470D44 #7B1775 #AF21A6 #D933CF

Accessibility & contrast

On white

9.45
#7B1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1775
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1775#FFFFFF#000000##FFFFFF
##7B17751.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#802546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1775;
/* rgb */ color: rgb(123, 23, 117);
/* oklch */ color: oklch(41.6% 0.169 330.9);
Tailwind
colors: {
  custom: {
    50: '#a5629d',
    500: '#7b1775',
    950: '#000000',
  },
}
SCSS
$custom: #7b1775;
$custom-light: #a5629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1775",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 303.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.16861,
    "h": 330.9
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#7B1775
secondary
#3EB045
accent
#EB473C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1775

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

Preview Lab → · Contrast checker → · Palette generator →

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