#681894#681894

#681894 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.187 H 309.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#681894
RGBrgb(104, 24, 148)
HSLhsl(279, 72%, 34%)
HSVhsv(279, 84%, 58%)
CMYKcmyk(29.7%, 83.8%, 0%, 42%)
CIE-LABlab(28.73, 53.62, -50.84)
CIE-LCHlch(28.73, 73.89, 316.53°)
OKLaboklab(41.01% 0.1182 -0.1445)
OKLCHoklch(41.01% 0.187 309.3)
XYZxyz(11.3798, 5.7347, 28.5187)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681894 #449418
analogous
#2A1894 #681894 #941882
triadic
#681894 #946818 #189468
tetradic
#681894 #942A18 #449418 #188294
square
#681894 #942A18 #449418 #188294
split-complementary
#681894 #829418 #18942A
monochromatic
#1E072B #430F5F #681894 #8D21C9 #AA45E1

Accessibility & contrast

On white

9.78
#681894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681894
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681894#FFFFFF#000000##FFFFFF
##6818941.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#613958
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681894;
/* rgb */ color: rgb(104, 24, 148);
/* oklch */ color: oklch(41.0% 0.187 309.3);
Tailwind
colors: {
  custom: {
    50: '#9861b4',
    500: '#681894',
    950: '#000000',
  },
}
SCSS
$custom: #681894;
$custom-light: #9861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681894",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 278.71,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.18666,
    "h": 309.3
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#681894
secondary
#72C246
accent
#EF397A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681894

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

Preview Lab → · Contrast checker → · Palette generator →

#681894 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva