#7B2380#7B2380

#7B2380 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.165 H 325.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7B2380
RGBrgb(123, 35, 128)
HSLhsl(297, 57%, 32%)
HSVhsv(297, 73%, 50%)
CMYKcmyk(3.9%, 72.7%, 0%, 49.8%)
CIE-LABlab(31.74, 49.59, -33.41)
CIE-LCHlch(31.74, 59.80, 326.03°)
OKLaboklab(43.31% 0.1358 -0.0928)
OKLCHoklch(43.31% 0.165 325.6)
XYZxyz(12.6654, 6.9724, 21.0966)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2380 #288023
analogous
#4D2380 #7B2380 #802357
triadic
#7B2380 #807B23 #23807B
tetradic
#7B2380 #804D23 #288023 #235780
square
#7B2380 #804D23 #288023 #235780
split-complementary
#7B2380 #578023 #23804D
monochromatic
#1F0920 #4D1650 #7B2380 #A930B0 #C84FCF

Accessibility & contrast

On white

8.77
#7B2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2380
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2380#FFFFFF#000000##FFFFFF
##7B23801.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4483
Deuteranopia (green-blind)
#374E7E
Tritanopia (blue-blind)
#7E324F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2380;
/* rgb */ color: rgb(123, 35, 128);
/* oklch */ color: oklch(43.3% 0.165 325.6);
Tailwind
colors: {
  custom: {
    50: '#a467a5',
    500: '#7b2380',
    950: '#000000',
  },
}
SCSS
$custom: #7b2380;
$custom-light: #a467a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2380",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 296.774,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43309,
    "c": 0.16451,
    "h": 325.6
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#7B2380
secondary
#52B24D
accent
#E04750
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2380

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

Preview Lab → · Contrast checker → · Palette generator →

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