#792274#792274

#792274 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 330.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#792274
RGBrgb(121, 34, 116)
HSLhsl(303, 56%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 71.9%, 4.1%, 52.5%)
CIE-LABlab(30.57, 47.35, -27.73)
CIE-LCHlch(30.57, 54.87, 329.64°)
OKLaboklab(42.18% 0.1343 -0.0764)
OKLCHoklch(42.18% 0.155 330.4)
XYZxyz(11.6095, 6.4708, 17.1571)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792274 #227927
analogous
#522279 #792274 #792249
triadic
#792274 #747922 #227479
tetradic
#792274 #795222 #227927 #224979
square
#792274 #795222 #227927 #224979
split-complementary
#792274 #497922 #227952
monochromatic
#190718 #491546 #792274 #A92FA2 #CC49C4

Accessibility & contrast

On white

9.15
#792274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#792274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792274
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792274#FFFFFF#000000##FFFFFF
##7922741.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4076
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#7E2C48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792274;
/* rgb */ color: rgb(121, 34, 116);
/* oklch */ color: oklch(42.2% 0.155 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3669c',
    500: '#792274',
    950: '#000000',
  },
}
SCSS
$custom: #792274;
$custom-light: #a3669c;
$custom-dark: #000000;
JSON
{
  "hex": "#792274",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 303.448,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.15453,
    "h": 330.4
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#792274
secondary
#4BAC50
accent
#DF5148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792274

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

Preview Lab → · Contrast checker → · Palette generator →

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