#683D8A#683D8A

#683D8A is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.127 H 307.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#683D8A
RGBrgb(104, 61, 138)
HSLhsl(274, 39%, 39%)
HSVhsv(274, 56%, 54%)
CMYKcmyk(24.6%, 55.8%, 0%, 45.9%)
CIE-LABlab(34.22, 34.11, -35.84)
CIE-LCHlch(34.22, 49.47, 313.58°)
OKLaboklab(44.73% 0.0782 -0.1007)
OKLCHoklch(44.73% 0.127 307.8)
XYZxyz(11.9642, 8.1157, 24.9760)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D8A #5F8A3D
analogous
#423D8A #683D8A #8A3D86
triadic
#683D8A #8A683D #3D8A68
tetradic
#683D8A #8A423D #5F8A3D #3D868A
square
#683D8A #8A423D #5F8A3D #3D868A
split-complementary
#683D8A #868A3D #3D8A42
monochromatic
#281735 #482A60 #683D8A #8852B2 #A57CC5

Accessibility & contrast

On white

8.01
#683D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#683D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683D8A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D8A#FFFFFF#000000##FFFFFF
##683D8A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#634B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #683d8a;
/* rgb */ color: rgb(104, 61, 138);
/* oklch */ color: oklch(44.7% 0.127 307.8);
Tailwind
colors: {
  custom: {
    50: '#9574ac',
    500: '#683d8a',
    950: '#000000',
  },
}
SCSS
$custom: #683d8a;
$custom-light: #9574ac;
$custom-dark: #000000;
JSON
{
  "hex": "#683d8a",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 273.506,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.12747,
    "h": 307.8
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#683D8A
secondary
#8EAF74
accent
#CF598D
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #683D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#683D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva