#7C1B94#7C1B94

#7C1B94 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.191 H 318.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7C1B94
RGBrgb(124, 27, 148)
HSLhsl(288, 69%, 34%)
HSVhsv(288, 82%, 58%)
CMYKcmyk(16.2%, 81.8%, 0%, 42%)
CIE-LABlab(32.28, 56.28, -44.95)
CIE-LCHlch(32.28, 72.03, 321.39°)
OKLaboklab(44.14% 0.1425 -0.1265)
OKLCHoklch(44.14% 0.191 318.4)
XYZxyz(14.0487, 7.2077, 28.6625)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B94 #33941B
analogous
#401B94 #7C1B94 #941B70
triadic
#7C1B94 #947C1B #1B947C
tetradic
#7C1B94 #94401B #33941B #1B7094
square
#7C1B94 #94401B #33941B #1B7094
split-complementary
#7C1B94 #70941B #1B9440
monochromatic
#25082C #511260 #7C1B94 #A724C8 #C14BDE

Accessibility & contrast

On white

8.60
#7C1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B94
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B94#FFFFFF#000000##FFFFFF
##7C1B941.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#7B3758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1b94;
/* rgb */ color: rgb(124, 27, 148);
/* oklch */ color: oklch(44.1% 0.191 318.4);
Tailwind
colors: {
  custom: {
    50: '#a665b4',
    500: '#7c1b94',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b94;
$custom-light: #a665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b94",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 288.099,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.19056,
    "h": 318.4
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#7C1B94
secondary
#62C04B
accent
#EC3C5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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