#681895#681895

#681895 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.188 H 308.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#681895
RGBrgb(104, 24, 149)
HSLhsl(278, 72%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.2%, 83.9%, 0%, 41.6%)
CIE-LABlab(28.82, 53.84, -51.32)
CIE-LCHlch(28.82, 74.38, 316.37°)
OKLaboklab(41.1% 0.1179 -0.1459)
OKLCHoklch(41.1% 0.188 308.9)
XYZxyz(11.4592, 5.7665, 28.9373)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681895 #459518
analogous
#2A1895 #681895 #951884
triadic
#681895 #956818 #189568
tetradic
#681895 #952A18 #459518 #188495
square
#681895 #952A18 #459518 #188495
split-complementary
#681895 #849518 #18952A
monochromatic
#1E072C #431060 #681895 #8D20CA #A946E1

Accessibility & contrast

On white

9.75
#681895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681895
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681895#FFFFFF#000000##FFFFFF
##6818951.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#613A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681895;
/* rgb */ color: rgb(104, 24, 149);
/* oklch */ color: oklch(41.1% 0.188 308.9);
Tailwind
colors: {
  custom: {
    50: '#9861b5',
    500: '#681895',
    950: '#000000',
  },
}
SCSS
$custom: #681895;
$custom-light: #9861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681895",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 278.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.18758,
    "h": 308.9
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #681895

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

Preview Lab → · Contrast checker → · Palette generator →

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