#681790#681790

#681790 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.184 H 310.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#681790
RGBrgb(104, 23, 144)
HSLhsl(280, 72%, 33%)
HSVhsv(280, 84%, 56%)
CMYKcmyk(27.8%, 84%, 0%, 43.5%)
CIE-LABlab(28.30, 53.07, -49.07)
CIE-LCHlch(28.30, 72.28, 317.24°)
OKLaboklab(40.61% 0.12 -0.1393)
OKLCHoklch(40.61% 0.184 310.7)
XYZxyz(11.0484, 5.5697, 26.8732)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681790 #3F9017
analogous
#2B1790 #681790 #90177C
triadic
#681790 #906817 #179068
tetradic
#681790 #902B17 #3F9017 #177C90
square
#681790 #902B17 #3F9017 #177C90
split-complementary
#681790 #7C9017 #17902B
monochromatic
#1C0626 #420F5B #681790 #8E1FC5 #AC41E1

Accessibility & contrast

On white

9.93
#681790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681790
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681790#FFFFFF#000000##FFFFFF
##6817901.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#623755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681790;
/* rgb */ color: rgb(104, 23, 144);
/* oklch */ color: oklch(40.6% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#9860b1',
    500: '#681790',
    950: '#000000',
  },
}
SCSS
$custom: #681790;
$custom-light: #9860b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681790",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 280.165,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.18384,
    "h": 310.7
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#681790
secondary
#6CC142
accent
#EF3975
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681790

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

Preview Lab → · Contrast checker → · Palette generator →

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