#681BAA#681BAA

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

Color values

HEX#681BAA
RGBrgb(104, 27, 170)
HSLhsl(272, 73%, 39%)
HSVhsv(272, 84%, 67%)
CMYKcmyk(38.8%, 84.1%, 0%, 33.3%)
CIE-LABlab(30.95, 57.58, -60.60)
CIE-LCHlch(30.95, 83.59, 313.53°)
OKLaboklab(43.13% 0.1094 -0.1732)
OKLCHoklch(43.13% 0.205 302.3)
XYZxyz(13.3548, 6.6292, 38.5984)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BAA #5DAA1B
analogous
#211BAA #681BAA #AA1BA4
triadic
#681BAA #AA681B #1BAA68
tetradic
#681BAA #AA211B #5DAA1B #1BA4AA
square
#681BAA #AA211B #5DAA1B #1BA4AA
split-complementary
#681BAA #A4AA1B #1BAA21
monochromatic
#270A40 #481375 #681BAA #8826DC #A55BE5

Accessibility & contrast

On white

9.03
#681BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681BAA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BAA#FFFFFF#000000##FFFFFF
##681BAA1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#5A4565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #681baa;
/* rgb */ color: rgb(104, 27, 170);
/* oklch */ color: oklch(43.1% 0.205 302.3);
Tailwind
colors: {
  custom: {
    50: '#9a63c4',
    500: '#681baa',
    950: '#000000',
  },
}
SCSS
$custom: #681baa;
$custom-light: #9a63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#681baa",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 272.308,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.20482,
    "h": 302.3
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#681BAA
secondary
#8CC958
accent
#EF398D
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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