#7C1B95#7C1B95

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

Color values

HEX#7C1B95
RGBrgb(124, 27, 149)
HSLhsl(288, 69%, 35%)
HSVhsv(288, 82%, 58%)
CMYKcmyk(16.8%, 81.9%, 0%, 41.6%)
CIE-LABlab(32.35, 56.47, -45.44)
CIE-LCHlch(32.35, 72.49, 321.18°)
OKLaboklab(44.21% 0.1424 -0.1279)
OKLCHoklch(44.21% 0.191 318.1)
XYZxyz(14.1282, 7.2395, 29.0811)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B95 #34951B
analogous
#3F1B95 #7C1B95 #951B71
triadic
#7C1B95 #957C1B #1B957C
tetradic
#7C1B95 #953F1B #34951B #1B7195
square
#7C1B95 #953F1B #34951B #1B7195
split-complementary
#7C1B95 #71951B #1B953F
monochromatic
#26082D #511261 #7C1B95 #A724C9 #C04CDF

Accessibility & contrast

On white

8.58
#7C1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B95
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B95#FFFFFF#000000##FFFFFF
##7C1B951.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#7B3759
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1b95;
/* rgb */ color: rgb(124, 27, 149);
/* oklch */ color: oklch(44.2% 0.191 318.1);
Tailwind
colors: {
  custom: {
    50: '#a665b5',
    500: '#7c1b95',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b95;
$custom-light: #a665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b95",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 287.705,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.19141,
    "h": 318.1
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#7C1B95
secondary
#63C14B
accent
#EC3C60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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