#681CA1#681CA1

#681CA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.195 H 304.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#681CA1
RGBrgb(104, 28, 161)
HSLhsl(274, 70%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(35.4%, 82.6%, 0%, 36.9%)
CIE-LABlab(30.27, 55.20, -56.27)
CIE-LCHlch(30.27, 78.83, 314.45°)
OKLaboklab(42.42% 0.1116 -0.1605)
OKLCHoklch(42.42% 0.195 304.8)
XYZxyz(12.5557, 6.3468, 34.2749)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681CA1 #55A11C
analogous
#261CA1 #681CA1 #A11C97
triadic
#681CA1 #A1681C #1CA168
tetradic
#681CA1 #A1261C #55A11C #1C97A1
square
#681CA1 #A1261C #55A11C #1C97A1
split-complementary
#681CA1 #97A11C #1CA126
monochromatic
#250A39 #46136D #681CA1 #8A25D5 #A656E2

Accessibility & contrast

On white

9.25
#681CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#681CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681CA1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681CA1#FFFFFF#000000##FFFFFF
##681CA11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5D4160
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681ca1;
/* rgb */ color: rgb(104, 28, 161);
/* oklch */ color: oklch(42.4% 0.195 304.8);
Tailwind
colors: {
  custom: {
    50: '#9963be',
    500: '#681ca1',
    950: '#000000',
  },
}
SCSS
$custom: #681ca1;
$custom-light: #9963be;
$custom-dark: #000000;
JSON
{
  "hex": "#681ca1",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 274.286,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.19542,
    "h": 304.8
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#681CA1
secondary
#84C554
accent
#ED3B87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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