#7A1B83#7A1B83

#7A1B83 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.175 H 324.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7A1B83
RGBrgb(122, 27, 131)
HSLhsl(295, 66%, 31%)
HSVhsv(295, 79%, 51%)
CMYKcmyk(6.9%, 79.4%, 0%, 48.6%)
CIE-LABlab(30.79, 52.70, -36.83)
CIE-LCHlch(30.79, 64.30, 325.06°)
OKLaboklab(42.65% 0.1422 -0.1028)
OKLCHoklch(42.65% 0.175 324.1)
XYZxyz(12.5144, 6.5609, 22.0756)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B83 #24831B
analogous
#461B83 #7A1B83 #831B58
triadic
#7A1B83 #837A1B #1B837A
tetradic
#7A1B83 #83461B #24831B #1B5883
square
#7A1B83 #83461B #24831B #1B5883
split-complementary
#7A1B83 #58831B #1B8346
monochromatic
#1B061E #4B1150 #7A1B83 #A925B6 #CB41D8

Accessibility & contrast

On white

9.08
#7A1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B83
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B83#FFFFFF#000000##FFFFFF
##7A1B831.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#304C81
Tritanopia (blue-blind)
#7C2F4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1b83;
/* rgb */ color: rgb(122, 27, 131);
/* oklch */ color: oklch(42.7% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#a464a7',
    500: '#7a1b83',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b83;
$custom-light: #a464a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b83",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 294.808,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.17545,
    "h": 324.1
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#7A1B83
secondary
#4DB643
accent
#E93F4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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