#7B1E75#7B1E75

#7B1E75 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.161 H 330.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1E75
RGBrgb(123, 30, 117)
HSLhsl(304, 61%, 30%)
HSVhsv(304, 76%, 48%)
CMYKcmyk(0%, 75.6%, 4.9%, 51.8%)
CIE-LABlab(30.46, 49.48, -28.52)
CIE-LCHlch(30.46, 57.11, 330.04°)
OKLaboklab(42.18% 0.1409 -0.0786)
OKLCHoklch(42.18% 0.161 330.8)
XYZxyz(11.8435, 6.4248, 17.4425)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E75 #1E7B24
analogous
#531E7B #7B1E75 #7B1E46
triadic
#7B1E75 #757B1E #1E757B
tetradic
#7B1E75 #7B531E #1E7B24 #1E467B
square
#7B1E75 #7B531E #1E7B24 #1E467B
split-complementary
#7B1E75 #467B1E #1E7B53
monochromatic
#190617 #4A1246 #7B1E75 #AC2AA4 #D142C8

Accessibility & contrast

On white

9.19
#7B1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E75
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E75#FFFFFF#000000##FFFFFF
##7B1E751.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#802A48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1e75;
/* rgb */ color: rgb(123, 30, 117);
/* oklch */ color: oklch(42.2% 0.161 330.8);
Tailwind
colors: {
  custom: {
    50: '#a4649d',
    500: '#7b1e75',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e75;
$custom-light: #a4649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e75",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 303.871,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.1613,
    "h": 330.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#7B1E75
secondary
#46AE4D
accent
#E44E44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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