#782273#782273

#782273 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.153 H 330.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#782273
RGBrgb(120, 34, 115)
HSLhsl(303, 56%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 71.7%, 4.2%, 52.9%)
CIE-LABlab(30.34, 46.92, -27.47)
CIE-LCHlch(30.34, 54.37, 329.65°)
OKLaboklab(41.96% 0.1331 -0.0757)
OKLCHoklch(41.96% 0.153 330.4)
XYZxyz(11.4122, 6.3758, 16.8459)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782273 #227827
analogous
#522278 #782273 #782248
triadic
#782273 #737822 #227378
tetradic
#782273 #785222 #227827 #224878
square
#782273 #785222 #227827 #224878
split-complementary
#782273 #487822 #227852
monochromatic
#190718 #481445 #782273 #A830A1 #CB49C4

Accessibility & contrast

On white

9.23
#782273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782273
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782273#FFFFFF#000000##FFFFFF
##7822731.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#7D2C48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #782273;
/* rgb */ color: rgb(120, 34, 115);
/* oklch */ color: oklch(42.0% 0.153 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2669b',
    500: '#782273',
    950: '#000000',
  },
}
SCSS
$custom: #782273;
$custom-light: #a2669b;
$custom-dark: #000000;
JSON
{
  "hex": "#782273",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 303.488,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.15313,
    "h": 330.4
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#782273
secondary
#4BAB50
accent
#DF5149
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782273

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

Preview Lab → · Contrast checker → · Palette generator →

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