#681DA8#681DA8

#681DA8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.201 H 302.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#681DA8
RGBrgb(104, 29, 168)
HSLhsl(272, 71%, 39%)
HSVhsv(272, 83%, 66%)
CMYKcmyk(38.1%, 82.7%, 0%, 34.1%)
CIE-LABlab(30.99, 56.46, -59.32)
CIE-LCHlch(30.99, 81.90, 313.59°)
OKLaboklab(43.11% 0.1087 -0.1694)
OKLCHoklch(43.11% 0.201 302.7)
XYZxyz(13.2145, 6.6489, 37.6254)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681DA8 #5DA81D
analogous
#221DA8 #681DA8 #A81DA2
triadic
#681DA8 #A8681D #1DA868
tetradic
#681DA8 #A8221D #5DA81D #1DA2A8
square
#681DA8 #A8221D #5DA81D #1DA2A8
split-complementary
#681DA8 #A2A81D #1DA822
monochromatic
#270B40 #481474 #681DA8 #8828DA #A55CE3

Accessibility & contrast

On white

9.01
#681DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#681DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681DA8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681DA8#FFFFFF#000000##FFFFFF
##681DA81.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#5A4464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681da8;
/* rgb */ color: rgb(104, 29, 168);
/* oklch */ color: oklch(43.1% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#9a64c3',
    500: '#681da8',
    950: '#000000',
  },
}
SCSS
$custom: #681da8;
$custom-light: #9a64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#681da8",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 272.374,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.20129,
    "h": 302.7
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#681DA8
secondary
#8CC75A
accent
#ED3A8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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