#7A2B81#7A2B81

#7A2B81 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.154 H 324.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7A2B81
RGBrgb(122, 43, 129)
HSLhsl(295, 50%, 34%)
HSVhsv(295, 67%, 51%)
CMYKcmyk(5.4%, 66.7%, 0%, 49.4%)
CIE-LABlab(32.81, 46.23, -32.35)
CIE-LCHlch(32.81, 56.43, 325.02°)
OKLaboklab(44.07% 0.1255 -0.0898)
OKLCHoklch(44.07% 0.154 324.4)
XYZxyz(12.8520, 7.4511, 21.5259)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B81 #32812B
analogous
#4F2B81 #7A2B81 #812B5D
triadic
#7A2B81 #817A2B #2B817A
tetradic
#7A2B81 #814F2B #32812B #2B5D81
square
#7A2B81 #814F2B #32812B #2B5D81
split-complementary
#7A2B81 #5D812B #2B814F
monochromatic
#230C25 #4F1C53 #7A2B81 #A53AAF #C05DC9

Accessibility & contrast

On white

8.43
#7A2B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B81
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B81#FFFFFF#000000##FFFFFF
##7A2B811.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#3A507F
Tritanopia (blue-blind)
#7C3852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2b81;
/* rgb */ color: rgb(122, 43, 129);
/* oklch */ color: oklch(44.1% 0.154 324.4);
Tailwind
colors: {
  custom: {
    50: '#a36ba6',
    500: '#7a2b81',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b81;
$custom-light: #a36ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b81",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 295.116,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.15432,
    "h": 324.4
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#7A2B81
secondary
#60AF59
accent
#DA4E5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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