#683F87#683F87

#683F87 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.120 H 308.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#683F87
RGBrgb(104, 63, 135)
HSLhsl(274, 36%, 39%)
HSVhsv(274, 53%, 53%)
CMYKcmyk(23%, 53.3%, 0%, 47.1%)
CIE-LABlab(34.49, 32.20, -33.56)
CIE-LCHlch(34.49, 46.51, 313.82°)
OKLaboklab(44.87% 0.0751 -0.094)
OKLCHoklch(44.87% 0.12 308.6)
XYZxyz(11.8587, 8.2475, 23.8842)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683F87 #5E873F
analogous
#443F87 #683F87 #873F82
triadic
#683F87 #87683F #3F8768
tetradic
#683F87 #87443F #5E873F #3F8287
square
#683F87 #87443F #5E873F #3F8287
split-complementary
#683F87 #82873F #3F8744
monochromatic
#281834 #482C5D #683F87 #8854AF #A57EC3

Accessibility & contrast

On white

7.93
#683F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#683F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683F87
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683F87#FFFFFF#000000##FFFFFF
##683F871.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#644B5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #683f87;
/* rgb */ color: rgb(104, 63, 135);
/* oklch */ color: oklch(44.9% 0.120 308.6);
Tailwind
colors: {
  custom: {
    50: '#9575aa',
    500: '#683f87',
    950: '#000000',
  },
}
SCSS
$custom: #683f87;
$custom-light: #9575aa;
$custom-dark: #000000;
JSON
{
  "hex": "#683f87",
  "rgb": {
    "r": 104,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 274.167,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.12033,
    "h": 308.6
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#683F87
secondary
#8DAD75
accent
#CC5B8C
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #683F87

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

Preview Lab → · Contrast checker → · Palette generator →

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