#681F74#681F74

#681F74 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.149 H 321.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#681F74
RGBrgb(104, 31, 116)
HSLhsl(292, 58%, 29%)
HSVhsv(292, 73%, 45%)
CMYKcmyk(10.3%, 73.3%, 0%, 54.5%)
CIE-LABlab(27.25, 44.38, -33.18)
CIE-LCHlch(27.25, 55.41, 323.22°)
OKLaboklab(39.22% 0.1172 -0.0927)
OKLCHoklch(39.22% 0.149 321.7)
XYZxyz(9.3509, 5.1845, 17.0278)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F74 #2B741F
analogous
#3E1F74 #681F74 #741F56
triadic
#681F74 #74681F #1F7468
tetradic
#681F74 #743E1F #2B741F #1F5674
square
#681F74 #743E1F #2B741F #1F5674
split-complementary
#681F74 #56741F #1F743E
monochromatic
#160618 #3D1244 #681F74 #932CA4 #B941CC

Accessibility & contrast

On white

10.31
#681F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F74
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F74#FFFFFF#000000##FFFFFF
##681F741.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#692E47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681f74;
/* rgb */ color: rgb(104, 31, 116);
/* oklch */ color: oklch(39.2% 0.149 321.7);
Tailwind
colors: {
  custom: {
    50: '#96629c',
    500: '#681f74',
    950: '#000000',
  },
}
SCSS
$custom: #681f74;
$custom-light: #96629c;
$custom-dark: #000000;
JSON
{
  "hex": "#681f74",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 291.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.14944,
    "h": 321.7
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#681F74
secondary
#55A847
accent
#E1475D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681F74

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

Preview Lab → · Contrast checker → · Palette generator →

#681F74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva