#681898#681898

#681898 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.190 H 308.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#681898
RGBrgb(104, 24, 152)
HSLhsl(278, 73%, 35%)
HSVhsv(278, 84%, 60%)
CMYKcmyk(31.6%, 84.2%, 0%, 40.4%)
CIE-LABlab(29.07, 54.49, -52.75)
CIE-LCHlch(29.07, 75.84, 315.93°)
OKLaboklab(41.35% 0.1171 -0.1501)
OKLCHoklch(41.35% 0.19 308)
XYZxyz(11.7018, 5.8635, 30.2150)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681898 #489818
analogous
#281898 #681898 #981888
triadic
#681898 #986818 #189868
tetradic
#681898 #982818 #489818 #188898
square
#681898 #982818 #489818 #188898
split-complementary
#681898 #889818 #189828
monochromatic
#20072E #441063 #681898 #8C20CD #A848E2

Accessibility & contrast

On white

9.67
#681898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#681898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681898
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681898#FFFFFF#000000##FFFFFF
##6818981.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#603B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681898;
/* rgb */ color: rgb(104, 24, 152);
/* oklch */ color: oklch(41.3% 0.190 308.0);
Tailwind
colors: {
  custom: {
    50: '#9961b7',
    500: '#681898',
    950: '#000000',
  },
}
SCSS
$custom: #681898;
$custom-light: #9961b7;
$custom-dark: #000000;
JSON
{
  "hex": "#681898",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 277.5,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.19035,
    "h": 308
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#681898
secondary
#76C448
accent
#EF387D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681898

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

Preview Lab → · Contrast checker → · Palette generator →

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