#782275#782275

#782275 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 329.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#782275
RGBrgb(120, 34, 117)
HSLhsl(302, 56%, 30%)
HSVhsv(302, 72%, 47%)
CMYKcmyk(0%, 71.7%, 2.5%, 52.9%)
CIE-LABlab(30.45, 47.27, -28.56)
CIE-LCHlch(30.45, 55.23, 328.86°)
OKLaboklab(42.08% 0.1332 -0.0788)
OKLCHoklch(42.08% 0.155 329.4)
XYZxyz(11.5286, 6.4223, 17.4586)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782275 #227825
analogous
#502278 #782275 #78224A
triadic
#782275 #757822 #227578
tetradic
#782275 #785022 #227825 #224A78
square
#782275 #785022 #227825 #224A78
split-complementary
#782275 #4A7822 #227850
monochromatic
#190718 #481447 #782275 #A830A3 #CB49C7

Accessibility & contrast

On white

9.19
#782275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782275
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782275#FFFFFF#000000##FFFFFF
##7822751.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184077
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#7C2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782275;
/* rgb */ color: rgb(120, 34, 117);
/* oklch */ color: oklch(42.1% 0.155 329.4);
Tailwind
colors: {
  custom: {
    50: '#a2669d',
    500: '#782275',
    950: '#000000',
  },
}
SCSS
$custom: #782275;
$custom-light: #a2669d;
$custom-dark: #000000;
JSON
{
  "hex": "#782275",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 302.093,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.1548,
    "h": 329.4
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#782275
secondary
#4BAB4E
accent
#DF4E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782275

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

Preview Lab → · Contrast checker → · Palette generator →

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