#791885#791885

#791885 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.180 H 323.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#791885
RGBrgb(121, 24, 133)
HSLhsl(293, 69%, 31%)
HSVhsv(293, 82%, 52%)
CMYKcmyk(9%, 82%, 0%, 47.8%)
CIE-LABlab(30.43, 53.77, -38.66)
CIE-LCHlch(30.43, 66.22, 324.28°)
OKLaboklab(42.41% 0.1433 -0.1081)
OKLCHoklch(42.41% 0.18 323)
XYZxyz(12.4450, 6.4124, 22.7680)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791885 #248518
analogous
#421885 #791885 #85185B
triadic
#791885 #857918 #188579
tetradic
#791885 #854218 #248518 #185B85
square
#791885 #854218 #248518 #185B85
split-complementary
#791885 #5B8518 #188542
monochromatic
#1B051D #4A0F51 #791885 #A821B9 #CA3CDC

Accessibility & contrast

On white

9.20
#791885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#791885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791885
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791885#FFFFFF#000000##FFFFFF
##7918851.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#7B2F4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791885;
/* rgb */ color: rgb(121, 24, 133);
/* oklch */ color: oklch(42.4% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#a363a9',
    500: '#791885',
    950: '#000000',
  },
}
SCSS
$custom: #791885;
$custom-light: #a363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791885",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 293.394,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.17951,
    "h": 323
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#791885
secondary
#4DB940
accent
#EC3C4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791885

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

Preview Lab → · Contrast checker → · Palette generator →

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