#781869#781869

#781869 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.157 H 335.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#781869
RGBrgb(120, 24, 105)
HSLhsl(309, 67%, 28%)
HSVhsv(309, 80%, 47%)
CMYKcmyk(0%, 80%, 12.5%, 52.9%)
CIE-LABlab(28.56, 48.79, -23.87)
CIE-LCHlch(28.56, 54.31, 333.93°)
OKLaboklab(40.5% 0.1428 -0.0652)
OKLCHoklch(40.5% 0.157 335.4)
XYZxyz(10.6223, 5.6672, 13.8963)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781869 #187827
analogous
#571878 #781869 #781839
triadic
#781869 #697818 #186978
tetradic
#781869 #785718 #187827 #183978
square
#781869 #785718 #187827 #183978
split-complementary
#781869 #397818 #187857
monochromatic
#1A0516 #450E3C #781869 #AB2296 #D634BD

Accessibility & contrast

On white

9.84
#781869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781869
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781869#FFFFFF#000000##FFFFFF
##7818691.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6B
Deuteranopia (green-blind)
#3C4867
Tritanopia (blue-blind)
#7E203F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781869;
/* rgb */ color: rgb(120, 24, 105);
/* oklch */ color: oklch(40.5% 0.157 335.4);
Tailwind
colors: {
  custom: {
    50: '#a26194',
    500: '#781869',
    950: '#000000',
  },
}
SCSS
$custom: #781869;
$custom-light: #a26194;
$custom-dark: #000000;
JSON
{
  "hex": "#781869",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 309.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.15696,
    "h": 335.4
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#781869
secondary
#3FAD50
accent
#EA593E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781869

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

Preview Lab → · Contrast checker → · Palette generator →

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