#7B1E8B#7B1E8B

#7B1E8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.180 H 321.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1E8B
RGBrgb(123, 30, 139)
HSLhsl(291, 64%, 33%)
HSVhsv(291, 78%, 55%)
CMYKcmyk(11.5%, 78.4%, 0%, 45.5%)
CIE-LABlab(31.82, 53.43, -40.14)
CIE-LCHlch(31.82, 66.83, 323.08°)
OKLaboklab(43.58% 0.14 -0.1125)
OKLCHoklch(43.58% 0.18 321.2)
XYZxyz(13.2923, 7.0043, 25.0729)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E8B #2E8B1E
analogous
#451E8B #7B1E8B #8B1E64
triadic
#7B1E8B #8B7B1E #1E8B7B
tetradic
#7B1E8B #8B451E #2E8B1E #1E648B
square
#7B1E8B #8B451E #2E8B1E #1E648B
split-complementary
#7B1E8B #648B1E #1E8B45
monochromatic
#220826 #4E1359 #7B1E8B #A829BD #C34BD8

Accessibility & contrast

On white

8.75
#7B1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E8B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E8B#FFFFFF#000000##FFFFFF
##7B1E8B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#7C3454
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b1e8b;
/* rgb */ color: rgb(123, 30, 139);
/* oklch */ color: oklch(43.6% 0.180 321.2);
Tailwind
colors: {
  custom: {
    50: '#a565ad',
    500: '#7b1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e8b;
$custom-light: #a565ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e8b",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 291.193,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.1796,
    "h": 321.2
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#7B1E8B
secondary
#5BBB4A
accent
#E74059
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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