#683D9B#683D9B

#683D9B is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.148 H 301.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#683D9B
RGBrgb(104, 61, 155)
HSLhsl(267, 44%, 42%)
HSVhsv(267, 61%, 61%)
CMYKcmyk(32.9%, 60.6%, 0%, 39.2%)
CIE-LABlab(35.30, 38.43, -44.49)
CIE-LCHlch(35.30, 58.79, 310.82°)
OKLaboklab(45.86% 0.0785 -0.126)
OKLCHoklch(45.86% 0.149 301.9)
XYZxyz(13.2927, 8.6471, 31.9727)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683D9B #709B3D
analogous
#3D419B #683D9B #973D9B
triadic
#683D9B #9B683D #3D9B68
tetradic
#683D9B #9B3D41 #709B3D #3D9B97
square
#683D9B #9B3D41 #709B3D #3D9B97
split-complementary
#683D9B #9B973D #419B3D
monochromatic
#2D1A43 #4B2C6F #683D9B #8658BD #A684CF

Accessibility & contrast

On white

7.69
#683D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#683D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683D9B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683D9B#FFFFFF#000000##FFFFFF
##683D9B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529E
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#5E5066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #683d9b;
/* rgb */ color: rgb(104, 61, 155);
/* oklch */ color: oklch(45.9% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#9774b9',
    500: '#683d9b',
    950: '#000000',
  },
}
SCSS
$custom: #683d9b;
$custom-light: #9774b9;
$custom-dark: #000000;
JSON
{
  "hex": "#683d9b",
  "rgb": {
    "r": 104,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 267.447,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.1485,
    "h": 301.9
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#683D9B
secondary
#9DB97B
accent
#D35599
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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