#684282#684282

#684282 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.1% C 0.109 H 310.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#684282
RGBrgb(104, 66, 130)
HSLhsl(276, 33%, 38%)
HSVhsv(276, 49%, 51%)
CMYKcmyk(20%, 49.2%, 0%, 49%)
CIE-LABlab(34.91, 29.20, -29.82)
CIE-LCHlch(34.91, 41.74, 314.40°)
OKLaboklab(45.09% 0.07 -0.0832)
OKLCHoklch(45.09% 0.109 310.1)
XYZxyz(11.6857, 8.4514, 22.1304)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684282 #5C8242
analogous
#484282 #684282 #82427C
triadic
#684282 #826842 #428268
tetradic
#684282 #824842 #5C8242 #427C82
square
#684282 #824842 #5C8242 #427C82
split-complementary
#684282 #7C8242 #428248
monochromatic
#271931 #482D59 #684282 #8857AA #A580BE

Accessibility & contrast

On white

7.81
#684282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#684282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684282
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684282#FFFFFF#000000##FFFFFF
##6842821.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#3D5380
Tritanopia (blue-blind)
#654C5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684282;
/* rgb */ color: rgb(104, 66, 130);
/* oklch */ color: oklch(45.1% 0.109 310.1);
Tailwind
colors: {
  custom: {
    50: '#9577a6',
    500: '#684282',
    950: '#000000',
  },
}
SCSS
$custom: #684282;
$custom-light: #9577a6;
$custom-dark: #000000;
JSON
{
  "hex": "#684282",
  "rgb": {
    "r": 104,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 275.625,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45087,
    "c": 0.10871,
    "h": 310.1
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#684282
secondary
#8BA977
accent
#C95F8A
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #684282

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

Preview Lab → · Contrast checker → · Palette generator →

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