#782575#782575

#782575 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 329.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#782575
RGBrgb(120, 37, 117)
HSLhsl(302, 53%, 31%)
HSVhsv(302, 69%, 47%)
CMYKcmyk(0%, 69.2%, 2.5%, 52.9%)
CIE-LABlab(30.88, 46.07, -27.89)
CIE-LCHlch(30.88, 53.85, 328.81°)
OKLaboklab(42.38% 0.1298 -0.0769)
OKLCHoklch(42.38% 0.151 329.3)
XYZxyz(11.6181, 6.6014, 17.4884)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782575 #257828
analogous
#512578 #782575 #78254B
triadic
#782575 #757825 #257578
tetradic
#782575 #785125 #257828 #254B78
square
#782575 #785125 #257828 #254B78
split-complementary
#782575 #4B7825 #257851
monochromatic
#1A081A #491747 #782575 #A733A3 #C94FC4

Accessibility & contrast

On white

9.05
#782575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#782575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782575
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782575#FFFFFF#000000##FFFFFF
##7825751.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#3B4D73
Tritanopia (blue-blind)
#7C2F4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782575;
/* rgb */ color: rgb(120, 37, 117);
/* oklch */ color: oklch(42.4% 0.151 329.3);
Tailwind
colors: {
  custom: {
    50: '#a2679d',
    500: '#782575',
    950: '#000000',
  },
}
SCSS
$custom: #782575;
$custom-light: #a2679d;
$custom-dark: #000000;
JSON
{
  "hex": "#782575",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 302.169,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.15086,
    "h": 329.3
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#782575
secondary
#4EAA52
accent
#DC514C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782575

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

Preview Lab → · Contrast checker → · Palette generator →

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