#781875#781875

#781875 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.166 H 329.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#781875
RGBrgb(120, 24, 117)
HSLhsl(302, 67%, 28%)
HSVhsv(302, 80%, 47%)
CMYKcmyk(0%, 80%, 2.5%, 52.9%)
CIE-LABlab(29.24, 50.74, -30.49)
CIE-LCHlch(29.24, 59.19, 329.00°)
OKLaboklab(41.21% 0.1431 -0.0843)
OKLCHoklch(41.21% 0.166 329.5)
XYZxyz(11.2832, 5.9316, 17.3768)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781875 #18781B
analogous
#4B1878 #781875 #781845
triadic
#781875 #757818 #187578
tetradic
#781875 #784B18 #18781B #184578
square
#781875 #784B18 #18781B #184578
split-complementary
#781875 #457818 #18784B
monochromatic
#1A0519 #450E43 #781875 #AB22A7 #D634D1

Accessibility & contrast

On white

9.61
#781875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781875
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781875#FFFFFF#000000##FFFFFF
##7818751.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D77
Deuteranopia (green-blind)
#364973
Tritanopia (blue-blind)
#7C2746
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781875;
/* rgb */ color: rgb(120, 24, 117);
/* oklch */ color: oklch(41.2% 0.166 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2629d',
    500: '#781875',
    950: '#000000',
  },
}
SCSS
$custom: #781875;
$custom-light: #a2629d;
$custom-dark: #000000;
JSON
{
  "hex": "#781875",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 301.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.16613,
    "h": 329.5
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#781875
secondary
#3FAD42
accent
#EA443E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781875

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

Preview Lab → · Contrast checker → · Palette generator →

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