#681F90#681F90

#681F90 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.176 H 310.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#681F90
RGBrgb(104, 31, 144)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(27.8%, 78.5%, 0%, 43.5%)
CIE-LABlab(29.25, 50.31, -47.53)
CIE-LCHlch(29.25, 69.21, 316.63°)
OKLaboklab(41.28% 0.1135 -0.1348)
OKLCHoklch(41.28% 0.176 310.1)
XYZxyz(11.2320, 5.9369, 26.9344)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F90 #47901F
analogous
#301F90 #681F90 #901F80
triadic
#681F90 #90681F #1F9068
tetradic
#681F90 #90301F #47901F #1F8090
square
#681F90 #90301F #47901F #1F8090
split-complementary
#681F90 #80901F #1F9030
monochromatic
#1F092B #44145E #681F90 #8C2AC2 #A950D9

Accessibility & contrast

On white

9.60
#681F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#681F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F90
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F90#FFFFFF#000000##FFFFFF
##681F901.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f90;
/* rgb */ color: rgb(104, 31, 144);
/* oklch */ color: oklch(41.3% 0.176 310.1);
Tailwind
colors: {
  custom: {
    50: '#9863b1',
    500: '#681f90',
    950: '#000000',
  },
}
SCSS
$custom: #681f90;
$custom-light: #9863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681f90",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 278.761,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.1762,
    "h": 310.1
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#681F90
secondary
#75BC4E
accent
#E8407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F90

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

Preview Lab → · Contrast checker → · Palette generator →

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