#781975#781975

#781975 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.165 H 329.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#781975
RGBrgb(120, 25, 117)
HSLhsl(302, 66%, 28%)
HSVhsv(302, 79%, 47%)
CMYKcmyk(0%, 79.2%, 2.5%, 52.9%)
CIE-LABlab(29.35, 50.43, -30.32)
CIE-LCHlch(29.35, 58.84, 328.99°)
OKLaboklab(41.28% 0.1422 -0.0839)
OKLCHoklch(41.28% 0.165 329.5)
XYZxyz(11.3042, 5.9736, 17.3838)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781975 #19781C
analogous
#4B1978 #781975 #781945
triadic
#781975 #757819 #197578
tetradic
#781975 #784B19 #19781C #194578
square
#781975 #784B19 #19781C #194578
split-complementary
#781975 #457819 #19784B
monochromatic
#190519 #450E44 #781975 #AB24A6 #D536D0

Accessibility & contrast

On white

9.57
#781975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781975
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781975#FFFFFF#000000##FFFFFF
##7819751.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083D77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#7C2746
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781975;
/* rgb */ color: rgb(120, 25, 117);
/* oklch */ color: oklch(41.3% 0.165 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2629d',
    500: '#781975',
    950: '#000000',
  },
}
SCSS
$custom: #781975;
$custom-light: #a2629d;
$custom-dark: #000000;
JSON
{
  "hex": "#781975",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 301.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41281,
    "c": 0.16513,
    "h": 329.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#781975
secondary
#40AD44
accent
#E8453F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781975

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

Preview Lab → · Contrast checker → · Palette generator →

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