#683287#683287

#683287 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.142 H 311.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#683287
RGBrgb(104, 50, 135)
HSLhsl(278, 46%, 36%)
HSVhsv(278, 63%, 53%)
CMYKcmyk(23%, 63%, 0%, 47.1%)
CIE-LABlab(31.75, 39.48, -37.94)
CIE-LCHlch(31.75, 54.76, 316.14°)
OKLaboklab(42.86% 0.0932 -0.1067)
OKLCHoklch(42.86% 0.142 311.1)
XYZxyz(11.2219, 6.9738, 23.6719)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683287 #518732
analogous
#3E3287 #683287 #87327C
triadic
#683287 #876832 #328768
tetradic
#683287 #873E32 #518732 #327C87
square
#683287 #873E32 #518732 #327C87
split-complementary
#683287 #7C8732 #32873E
monochromatic
#23112E #46215A #683287 #8A43B4 #A66BC8

Accessibility & contrast

On white

8.77
#683287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#683287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683287
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683287#FFFFFF#000000##FFFFFF
##6832871.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#644257
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #683287;
/* rgb */ color: rgb(104, 50, 135);
/* oklch */ color: oklch(42.9% 0.142 311.1);
Tailwind
colors: {
  custom: {
    50: '#966daa',
    500: '#683287',
    950: '#000000',
  },
}
SCSS
$custom: #683287;
$custom-light: #966daa;
$custom-dark: #000000;
JSON
{
  "hex": "#683287",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 278.118,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.14172,
    "h": 311.1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#683287
secondary
#80B065
accent
#D65282
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #683287

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

Preview Lab → · Contrast checker → · Palette generator →

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