#681872#681872

#681872 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.156 H 323.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#681872
RGBrgb(104, 24, 114)
HSLhsl(293, 65%, 27%)
HSVhsv(293, 79%, 45%)
CMYKcmyk(8.8%, 78.9%, 0%, 55.3%)
CIE-LABlab(26.19, 46.65, -33.60)
CIE-LCHlch(26.19, 57.49, 324.24°)
OKLaboklab(38.42% 0.1245 -0.0939)
OKLCHoklch(38.42% 0.156 323)
XYZxyz(9.0725, 4.8118, 16.3672)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681872 #227218
analogous
#3B1872 #681872 #72184F
triadic
#681872 #726818 #187268
tetradic
#681872 #723B18 #227218 #184F72
square
#681872 #723B18 #227218 #184F72
split-complementary
#681872 #4F7218 #18723B
monochromatic
#170519 #3A0D3F #681872 #9623A5 #C231D4

Accessibility & contrast

On white

10.70
#681872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#681872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681872
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681872#FFFFFF#000000##FFFFFF
##6818721.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#6A2944
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681872;
/* rgb */ color: rgb(104, 24, 114);
/* oklch */ color: oklch(38.4% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#965f9b',
    500: '#681872',
    950: '#000000',
  },
}
SCSS
$custom: #681872;
$custom-light: #965f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#681872",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 293.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.15595,
    "h": 323
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#681872
secondary
#4AA73E
accent
#E84052
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681872

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

Preview Lab → · Contrast checker → · Palette generator →

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