#684182#684182

#684182 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.9% C 0.111 H 310.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#684182
RGBrgb(104, 65, 130)
HSLhsl(276, 33%, 38%)
HSVhsv(276, 50%, 51%)
CMYKcmyk(20%, 50%, 0%, 49%)
CIE-LABlab(34.67, 29.80, -30.19)
CIE-LCHlch(34.67, 42.42, 314.62°)
OKLaboklab(44.91% 0.0715 -0.0842)
OKLCHoklch(44.91% 0.111 310.3)
XYZxyz(11.6277, 8.3356, 22.1111)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684182 #5B8241
analogous
#474182 #684182 #82417B
triadic
#684182 #826841 #418268
tetradic
#684182 #824741 #5B8241 #417B82
square
#684182 #824741 #5B8241 #417B82
split-complementary
#684182 #7B8241 #418247
monochromatic
#271830 #472D59 #684182 #8956AA #A57FBF

Accessibility & contrast

On white

7.87
#684182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#684182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684182
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684182#FFFFFF#000000##FFFFFF
##6841821.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315084
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#654B5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684182;
/* rgb */ color: rgb(104, 65, 130);
/* oklch */ color: oklch(44.9% 0.111 310.3);
Tailwind
colors: {
  custom: {
    50: '#9577a6',
    500: '#684182',
    950: '#000000',
  },
}
SCSS
$custom: #684182;
$custom-light: #9577a6;
$custom-dark: #000000;
JSON
{
  "hex": "#684182",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 276,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.1105,
    "h": 310.3
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#684182
secondary
#8AA975
accent
#C95E89
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #684182

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

Preview Lab → · Contrast checker → · Palette generator →

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