#782999#782999

#782999 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 313.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#782999
RGBrgb(120, 41, 153)
HSLhsl(282, 58%, 38%)
HSVhsv(282, 73%, 60%)
CMYKcmyk(21.6%, 73.2%, 0%, 40%)
CIE-LABlab(33.73, 51.50, -45.69)
CIE-LCHlch(33.73, 68.84, 318.42°)
OKLaboklab(45.15% 0.124 -0.1289)
OKLCHoklch(45.15% 0.179 313.9)
XYZxyz(14.2875, 7.8793, 30.8991)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782999 #4A9929
analogous
#402999 #782999 #992982
triadic
#782999 #997829 #299978
tetradic
#782999 #994029 #4A9929 #298299
square
#782999 #994029 #4A9929 #298299
split-complementary
#782999 #829929 #299940
monochromatic
#2C0F38 #521C69 #782999 #9E36C9 #B566D6

Accessibility & contrast

On white

8.15
#782999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#782999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782999
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782999#FFFFFF#000000##FFFFFF
##7829991.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#215197
Tritanopia (blue-blind)
#75415E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782999;
/* rgb */ color: rgb(120, 41, 153);
/* oklch */ color: oklch(45.2% 0.179 313.9);
Tailwind
colors: {
  custom: {
    50: '#a36ab8',
    500: '#782999',
    950: '#000000',
  },
}
SCSS
$custom: #782999;
$custom-light: #a36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#782999",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 282.321,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.17883,
    "h": 313.9
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#782999
secondary
#7CBC62
accent
#E14774
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782999

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

Preview Lab → · Contrast checker → · Palette generator →

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