#681EA8#681EA8

#681EA8 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.200 H 302.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#681EA8
RGBrgb(104, 30, 168)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 66%)
CMYKcmyk(38.1%, 82.1%, 0%, 34.1%)
CIE-LABlab(31.11, 56.12, -59.13)
CIE-LCHlch(31.11, 81.53, 313.50°)
OKLaboklab(43.19% 0.108 -0.1689)
OKLCHoklch(43.19% 0.2 302.6)
XYZxyz(13.2394, 6.6987, 37.6337)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EA8 #5EA81E
analogous
#231EA8 #681EA8 #A81EA3
triadic
#681EA8 #A8681E #1EA868
tetradic
#681EA8 #A8231E #5EA81E #1EA3A8
square
#681EA8 #A8231E #5EA81E #1EA3A8
split-complementary
#681EA8 #A3A81E #1EA823
monochromatic
#280B40 #481574 #681EA8 #882AD9 #A55EE2

Accessibility & contrast

On white

8.98
#681EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#681EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681EA8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EA8#FFFFFF#000000##FFFFFF
##681EA81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681ea8;
/* rgb */ color: rgb(104, 30, 168);
/* oklch */ color: oklch(43.2% 0.200 302.6);
Tailwind
colors: {
  custom: {
    50: '#9a64c3',
    500: '#681ea8',
    950: '#000000',
  },
}
SCSS
$custom: #681ea8;
$custom-light: #9a64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#681ea8",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 272.174,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.20043,
    "h": 302.6
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#681EA8
secondary
#8DC75B
accent
#ED3B8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #681EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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