#791775#791775

#791775 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.168 H 330.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#791775
RGBrgb(121, 23, 117)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 47%)
CMYKcmyk(0%, 81%, 3.3%, 52.5%)
CIE-LABlab(29.32, 51.26, -30.35)
CIE-LCHlch(29.32, 59.57, 329.37°)
OKLaboklab(41.3% 0.1451 -0.0839)
OKLCHoklch(41.3% 0.168 330)
XYZxyz(11.4024, 5.9630, 17.3766)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791775 #17791B
analogous
#4C1779 #791775 #791744
triadic
#791775 #757917 #177579
tetradic
#791775 #794C17 #17791B #174479
square
#791775 #794C17 #17791B #174479
split-complementary
#791775 #447917 #17794C
monochromatic
#1A0519 #460D43 #791775 #AC21A7 #D832D1

Accessibility & contrast

On white

9.58
#791775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791775
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791775#FFFFFF#000000##FFFFFF
##7917751.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#7E2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791775;
/* rgb */ color: rgb(121, 23, 117);
/* oklch */ color: oklch(41.3% 0.168 330.0);
Tailwind
colors: {
  custom: {
    50: '#a3619d',
    500: '#791775',
    950: '#000000',
  },
}
SCSS
$custom: #791775;
$custom-light: #a3619d;
$custom-dark: #000000;
JSON
{
  "hex": "#791775",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 302.449,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.1676,
    "h": 330
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#791775
secondary
#3EAE42
accent
#EB443D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791775

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

Preview Lab → · Contrast checker → · Palette generator →

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