#791068#791068

#791068 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.164 H 336.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#791068
RGBrgb(121, 16, 104)
HSLhsl(310, 77%, 27%)
HSVhsv(310, 87%, 47%)
CMYKcmyk(0%, 86.8%, 14%, 52.5%)
CIE-LABlab(27.94, 51.03, -24.18)
CIE-LCHlch(27.94, 56.47, 334.65°)
OKLaboklab(40.07% 0.1502 -0.066)
OKLCHoklch(40.07% 0.164 336.3)
XYZxyz(10.5693, 5.4360, 13.5866)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791068 #107921
analogous
#561079 #791068 #791034
triadic
#791068 #687910 #106879
tetradic
#791068 #795610 #107921 #103479
square
#791068 #795610 #107921 #103479
split-complementary
#791068 #347910 #107956
monochromatic
#1B0417 #43093A #791068 #AF1796 #E222C3

Accessibility & contrast

On white

10.06
#791068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#791068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791068
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791068#FFFFFF#000000##FFFFFF
##7910681.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#3B4766
Tritanopia (blue-blind)
#801A3D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791068;
/* rgb */ color: rgb(121, 16, 104);
/* oklch */ color: oklch(40.1% 0.164 336.3);
Tailwind
colors: {
  custom: {
    50: '#a35f93',
    500: '#791068',
    950: '#000000',
  },
}
SCSS
$custom: #791068;
$custom-light: #a35f93;
$custom-dark: #000000;
JSON
{
  "hex": "#791068",
  "rgb": {
    "r": 121,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 309.714,
    "s": 76.642,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.16405,
    "h": 336.3
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#791068
secondary
#35B049
accent
#F35335
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#10050D
muted
#7F797E

Preview Lab

Preview with #791068

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

Preview Lab → · Contrast checker → · Palette generator →

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