#681F95#681F95

#681F95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.181 H 308.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#681F95
RGBrgb(104, 31, 149)
HSLhsl(277, 66%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(30.2%, 79.2%, 0%, 41.6%)
CIE-LABlab(29.65, 51.42, -49.97)
CIE-LCHlch(29.65, 71.70, 315.82°)
OKLaboklab(41.68% 0.1124 -0.142)
OKLCHoklch(41.68% 0.181 308.4)
XYZxyz(11.6226, 6.0931, 28.9918)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F95 #4C951F
analogous
#2D1F95 #681F95 #951F87
triadic
#681F95 #95681F #1F9568
tetradic
#681F95 #952D1F #4C951F #1F8795
square
#681F95 #952D1F #4C951F #1F8795
split-complementary
#681F95 #87951F #1F952D
monochromatic
#210A30 #451462 #681F95 #8B2AC8 #A753DB

Accessibility & contrast

On white

9.47
#681F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#681F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F95
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F95#FFFFFF#000000##FFFFFF
##681F951.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#613D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681f95;
/* rgb */ color: rgb(104, 31, 149);
/* oklch */ color: oklch(41.7% 0.181 308.4);
Tailwind
colors: {
  custom: {
    50: '#9864b5',
    500: '#681f95',
    950: '#000000',
  },
}
SCSS
$custom: #681f95;
$custom-light: #9864b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681f95",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 277.119,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.18105,
    "h": 308.4
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#681F95
secondary
#7BBF51
accent
#E93F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F95

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

Preview Lab → · Contrast checker → · Palette generator →

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