#681276#681276

#681276 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.165 H 321.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#681276
RGBrgb(104, 18, 118)
HSLhsl(292, 74%, 27%)
HSVhsv(292, 85%, 46%)
CMYKcmyk(11.9%, 84.7%, 0%, 53.7%)
CIE-LABlab(25.82, 49.29, -36.76)
CIE-LCHlch(25.82, 61.49, 323.29°)
OKLaboklab(38.25% 0.1291 -0.1031)
OKLCHoklch(38.25% 0.165 321.4)
XYZxyz(9.1949, 4.6842, 17.5559)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681276 #207612
analogous
#361276 #681276 #761252
triadic
#681276 #766812 #127668
tetradic
#681276 #763612 #207612 #125276
square
#681276 #763612 #207612 #125276
split-complementary
#681276 #527612 #127636
monochromatic
#17041B #390A41 #681276 #971AAB #C425DE

Accessibility & contrast

On white

10.84
#681276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#681276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681276
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681276#FFFFFF#000000##FFFFFF
##6812761.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#204074
Tritanopia (blue-blind)
#692845
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681276;
/* rgb */ color: rgb(104, 18, 118);
/* oklch */ color: oklch(38.2% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#975d9e',
    500: '#681276',
    950: '#000000',
  },
}
SCSS
$custom: #681276;
$custom-light: #975d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#681276",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 291.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.16524,
    "h": 321.4
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#681276
secondary
#48AD37
accent
#F03851
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681276

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

Preview Lab → · Contrast checker → · Palette generator →

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