#683799#683799

#683799 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.155 H 303.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#683799
RGBrgb(104, 55, 153)
HSLhsl(270, 47%, 41%)
HSVhsv(270, 64%, 60%)
CMYKcmyk(32%, 64.1%, 0%, 40%)
CIE-LABlab(33.93, 41.22, -45.48)
CIE-LCHlch(33.93, 61.38, 312.19°)
OKLaboklab(44.83% 0.0862 -0.1289)
OKLCHoklch(44.83% 0.155 303.8)
XYZxyz(12.8236, 7.9754, 30.9946)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683799 #689937
analogous
#373799 #683799 #993799
triadic
#683799 #996837 #379968
tetradic
#683799 #993737 #689937 #379999
square
#683799 #993737 #689937 #379999
split-complementary
#683799 #999937 #379937
monochromatic
#2B173F #49276C #683799 #874EBF #A57BD0

Accessibility & contrast

On white

8.09
#683799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#683799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683799
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683799#FFFFFF#000000##FFFFFF
##6837991.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#5F4C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #683799;
/* rgb */ color: rgb(104, 55, 153);
/* oklch */ color: oklch(44.8% 0.155 303.8);
Tailwind
colors: {
  custom: {
    50: '#9771b8',
    500: '#683799',
    950: '#000000',
  },
}
SCSS
$custom: #683799;
$custom-light: #9771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#683799",
  "rgb": {
    "r": 104,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 270,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.15504,
    "h": 303.8
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#683799
secondary
#96B973
accent
#D75194
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683799

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

Preview Lab → · Contrast checker → · Palette generator →

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