#681874#681874

#681874 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 322.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#681874
RGBrgb(104, 24, 116)
HSLhsl(292, 66%, 27%)
HSVhsv(292, 79%, 45%)
CMYKcmyk(10.3%, 79.3%, 0%, 54.5%)
CIE-LABlab(26.33, 47.03, -34.66)
CIE-LCHlch(26.33, 58.42, 323.61°)
OKLaboklab(38.56% 0.1244 -0.097)
OKLCHoklch(38.56% 0.158 322)
XYZxyz(9.1876, 4.8578, 16.9733)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681874 #247418
analogous
#3A1874 #681874 #741852
triadic
#681874 #746818 #187468
tetradic
#681874 #743A18 #247418 #185274
square
#681874 #743A18 #247418 #185274
split-complementary
#681874 #527418 #18743A
monochromatic
#170519 #3B0E41 #681874 #9522A7 #BF32D5

Accessibility & contrast

On white

10.65
#681874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#681874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681874
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681874#FFFFFF#000000##FFFFFF
##6818741.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#692A45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681874;
/* rgb */ color: rgb(104, 24, 116);
/* oklch */ color: oklch(38.6% 0.158 322.0);
Tailwind
colors: {
  custom: {
    50: '#965f9c',
    500: '#681874',
    950: '#000000',
  },
}
SCSS
$custom: #681874;
$custom-light: #965f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#681874",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 292.174,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.1577,
    "h": 322
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#681874
secondary
#4CA93F
accent
#E93F55
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681874

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

Preview Lab → · Contrast checker → · Palette generator →

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