#681995#681995

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

Color values

HEX#681995
RGBrgb(104, 25, 149)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 58%)
CMYKcmyk(30.2%, 83.2%, 0%, 41.6%)
CIE-LABlab(28.92, 53.52, -51.14)
CIE-LCHlch(28.92, 74.03, 316.30°)
OKLaboklab(41.17% 0.1172 -0.1454)
OKLCHoklch(41.17% 0.187 308.9)
XYZxyz(11.4802, 5.8085, 28.9443)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681995 #469519
analogous
#2A1995 #681995 #951984
triadic
#681995 #956819 #199568
tetradic
#681995 #952A19 #469519 #198495
square
#681995 #952A19 #469519 #198495
split-complementary
#681995 #849519 #19952A
monochromatic
#1F072C #431061 #681995 #8D22C9 #A948E0

Accessibility & contrast

On white

9.72
#681995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#681995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681995
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681995#FFFFFF#000000##FFFFFF
##6819951.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.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: #681995;
/* rgb */ color: rgb(104, 25, 149);
/* oklch */ color: oklch(41.2% 0.187 308.9);
Tailwind
colors: {
  custom: {
    50: '#9861b5',
    500: '#681995',
    950: '#000000',
  },
}
SCSS
$custom: #681995;
$custom-light: #9861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681995",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 278.226,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.18673,
    "h": 308.9
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#681995
secondary
#74C248
accent
#EE3A7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681995

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

Preview Lab → · Contrast checker → · Palette generator →

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