#791380#791380

#791380 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.180 H 325.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#791380
RGBrgb(121, 19, 128)
HSLhsl(296, 74%, 29%)
HSVhsv(296, 85%, 50%)
CMYKcmyk(5.5%, 85.2%, 0%, 49.8%)
CIE-LABlab(29.64, 54.21, -36.79)
CIE-LCHlch(29.64, 65.52, 325.84°)
OKLaboklab(41.74% 0.1475 -0.1027)
OKLCHoklch(41.74% 0.18 325.2)
XYZxyz(12.0140, 6.0900, 20.9606)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791380 #1A8013
analogous
#431380 #791380 #801351
triadic
#791380 #807913 #138079
tetradic
#791380 #804313 #1A8013 #135180
square
#791380 #804313 #1A8013 #135180
split-complementary
#791380 #518013 #138043
monochromatic
#19041B #470B4B #791380 #AB1BB5 #D42DE0

Accessibility & contrast

On white

9.47
#791380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#791380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791380
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791380#FFFFFF#000000##FFFFFF
##7913801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#7C2A4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791380;
/* rgb */ color: rgb(121, 19, 128);
/* oklch */ color: oklch(41.7% 0.180 325.2);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#791380',
    950: '#000000',
  },
}
SCSS
$custom: #791380;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791380",
  "rgb": {
    "r": 121,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 296.147,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.17969,
    "h": 325.2
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#791380
secondary
#41B539
accent
#F13743
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791380

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

Preview Lab → · Contrast checker → · Palette generator →

#791380 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva