#791975#791975

#791975 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 329.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#791975
RGBrgb(121, 25, 117)
HSLhsl(303, 66%, 29%)
HSVhsv(303, 79%, 47%)
CMYKcmyk(0%, 79.3%, 3.3%, 52.5%)
CIE-LABlab(29.53, 50.66, -30.02)
CIE-LCHlch(29.53, 58.88, 329.35°)
OKLaboklab(41.45% 0.1434 -0.083)
OKLCHoklch(41.45% 0.166 329.9)
XYZxyz(11.4436, 6.0455, 17.3903)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791975 #19791D
analogous
#4D1979 #791975 #791945
triadic
#791975 #757919 #197579
tetradic
#791975 #794D19 #19791D #194579
square
#791975 #794D19 #19791D #194579
split-complementary
#791975 #457919 #19794D
monochromatic
#190519 #460F44 #791975 #AC23A6 #D637CF

Accessibility & contrast

On white

9.51
#791975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#791975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791975
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791975#FFFFFF#000000##FFFFFF
##7919751.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3D77
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#7E2746
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791975;
/* rgb */ color: rgb(121, 25, 117);
/* oklch */ color: oklch(41.4% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#a3629d',
    500: '#791975',
    950: '#000000',
  },
}
SCSS
$custom: #791975;
$custom-light: #a3629d;
$custom-dark: #000000;
JSON
{
  "hex": "#791975",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 302.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.16563,
    "h": 329.9
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#791975
secondary
#40AE45
accent
#E9463F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791975

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

Preview Lab → · Contrast checker → · Palette generator →

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