#683797#683797

#683797 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.153 H 304.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#683797
RGBrgb(104, 55, 151)
HSLhsl(271, 47%, 40%)
HSVhsv(271, 64%, 59%)
CMYKcmyk(31.1%, 63.6%, 0%, 40.8%)
CIE-LABlab(33.79, 40.72, -44.48)
CIE-LCHlch(33.79, 60.30, 312.47°)
OKLaboklab(44.68% 0.0863 -0.126)
OKLCHoklch(44.68% 0.153 304.4)
XYZxyz(12.6598, 7.9099, 30.1320)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683797 #669737
analogous
#383797 #683797 #973796
triadic
#683797 #976837 #379768
tetradic
#683797 #973837 #669737 #379697
square
#683797 #973837 #669737 #379697
split-complementary
#683797 #969737 #379738
monochromatic
#2A163D #49276A #683797 #874DBE #A57ACF

Accessibility & contrast

On white

8.13
#683797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#683797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683797
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683797#FFFFFF#000000##FFFFFF
##6837971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#5F4B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #683797;
/* rgb */ color: rgb(104, 55, 151);
/* oklch */ color: oklch(44.7% 0.153 304.4);
Tailwind
colors: {
  custom: {
    50: '#9771b6',
    500: '#683797',
    950: '#000000',
  },
}
SCSS
$custom: #683797;
$custom-light: #9771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#683797",
  "rgb": {
    "r": 104,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 270.625,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44683,
    "c": 0.15268,
    "h": 304.4
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#683797
secondary
#94B872
accent
#D65293
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683797

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

Preview Lab → · Contrast checker → · Palette generator →

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