#683197#683197

#683197 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.161 H 305.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#683197
RGBrgb(104, 49, 151)
HSLhsl(272, 51%, 39%)
HSVhsv(272, 68%, 59%)
CMYKcmyk(31.1%, 67.5%, 0%, 40.8%)
CIE-LABlab(32.64, 43.86, -46.33)
CIE-LCHlch(32.64, 63.80, 313.43°)
OKLaboklab(43.85% 0.0935 -0.1314)
OKLCHoklch(43.85% 0.161 305.4)
XYZxyz(12.3919, 7.3741, 30.0427)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683197 #609731
analogous
#353197 #683197 #973193
triadic
#683197 #976831 #319768
tetradic
#683197 #973531 #609731 #319397
square
#683197 #973531 #609731 #319397
split-complementary
#683197 #939731 #319735
monochromatic
#28133B #482269 #683197 #8843C2 #A571D1

Accessibility & contrast

On white

8.49
#683197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#683197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683197
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683197#FFFFFF#000000##FFFFFF
##6831971.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#604760
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #683197;
/* rgb */ color: rgb(104, 49, 151);
/* oklch */ color: oklch(43.9% 0.161 305.4);
Tailwind
colors: {
  custom: {
    50: '#976db6',
    500: '#683197',
    950: '#000000',
  },
}
SCSS
$custom: #683197;
$custom-light: #976db6;
$custom-dark: #000000;
JSON
{
  "hex": "#683197",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 272.353,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.16128,
    "h": 305.4
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#683197
secondary
#8FB96B
accent
#DA4D8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #683197

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

Preview Lab → · Contrast checker → · Palette generator →

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