#783174#783174

#783174 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.8% C 0.132 H 329.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#783174
RGBrgb(120, 49, 116)
HSLhsl(303, 42%, 33%)
HSVhsv(303, 59%, 47%)
CMYKcmyk(0%, 59.2%, 3.3%, 52.9%)
CIE-LABlab(32.81, 40.41, -24.22)
CIE-LCHlch(32.81, 47.11, 329.06°)
OKLaboklab(43.77% 0.114 -0.0664)
OKLCHoklch(43.77% 0.132 329.8)
XYZxyz(11.9963, 7.4514, 17.3260)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783174 #317835
analogous
#583178 #783174 #783150
triadic
#783174 #747831 #317478
tetradic
#783174 #785831 #317835 #315078
square
#783174 #785831 #317835 #315078
split-complementary
#783174 #507831 #317858
monochromatic
#210E20 #4D1F4A #783174 #A3439E #C064BA

Accessibility & contrast

On white

8.43
#783174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#783174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783174
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783174#FFFFFF#000000##FFFFFF
##7831741.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#7C384E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #783174;
/* rgb */ color: rgb(120, 49, 116);
/* oklch */ color: oklch(43.8% 0.132 329.8);
Tailwind
colors: {
  custom: {
    50: '#a16d9c',
    500: '#783174',
    950: '#000000',
  },
}
SCSS
$custom: #783174;
$custom-light: #a16d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#783174",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 303.38,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.13198,
    "h": 329.8
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#783174
secondary
#5EA762
accent
#D25D56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #783174

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

Preview Lab → · Contrast checker → · Palette generator →

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