#681F9F#681F9F

#681F9F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.191 H 305.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#681F9F
RGBrgb(104, 31, 159)
HSLhsl(274, 67%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(34.6%, 80.5%, 0%, 37.6%)
CIE-LABlab(30.46, 53.69, -54.74)
CIE-LCHlch(30.46, 76.68, 314.44°)
OKLaboklab(42.5% 0.1098 -0.156)
OKLCHoklch(42.5% 0.191 305.1)
XYZxyz(12.4555, 6.4263, 33.3784)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F9F #569F1F
analogous
#281F9F #681F9F #9F1F96
triadic
#681F9F #9F681F #1F9F68
tetradic
#681F9F #9F281F #569F1F #1F969F
square
#681F9F #9F281F #569F1F #1F969F
split-complementary
#681F9F #969F1F #1F9F28
monochromatic
#250B39 #47156C #681F9F #8929D2 #A65ADF

Accessibility & contrast

On white

9.19
#681F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#681F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F9F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F9F#FFFFFF#000000##FFFFFF
##681F9F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5E415F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #681f9f;
/* rgb */ color: rgb(104, 31, 159);
/* oklch */ color: oklch(42.5% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#9964bc',
    500: '#681f9f',
    950: '#000000',
  },
}
SCSS
$custom: #681f9f;
$custom-light: #9964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681f9f",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 274.219,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.19078,
    "h": 305.1
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#681F9F
secondary
#85C357
accent
#EA3E88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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