#681E90#681E90

#681E90 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 310.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#681E90
RGBrgb(104, 30, 144)
HSLhsl(279, 66%, 34%)
HSVhsv(279, 79%, 56%)
CMYKcmyk(27.8%, 79.2%, 0%, 43.5%)
CIE-LABlab(29.12, 50.69, -47.74)
CIE-LCHlch(29.12, 69.63, 316.71°)
OKLaboklab(41.18% 0.1144 -0.1354)
OKLCHoklch(41.18% 0.177 310.2)
XYZxyz(11.2062, 5.8855, 26.9258)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E90 #46901E
analogous
#2F1E90 #681E90 #901E7F
triadic
#681E90 #90681E #1E9068
tetradic
#681E90 #902F1E #46901E #1E7F90
square
#681E90 #902F1E #46901E #1E7F90
split-complementary
#681E90 #7F901E #1E902F
monochromatic
#1F092B #43135D #681E90 #8D29C3 #A94EDA

Accessibility & contrast

On white

9.65
#681E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#681E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E90
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E90#FFFFFF#000000##FFFFFF
##681E901.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#623A57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681e90;
/* rgb */ color: rgb(104, 30, 144);
/* oklch */ color: oklch(41.2% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#9863b1',
    500: '#681e90',
    950: '#000000',
  },
}
SCSS
$custom: #681e90;
$custom-light: #9863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681e90",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 278.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41184,
    "c": 0.17724,
    "h": 310.2
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#681E90
secondary
#74BD4D
accent
#E83F7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E90

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

Preview Lab → · Contrast checker → · Palette generator →

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