#684281#684281

#684281 is a mid, moderate violet. Relative luminance 0.084; OKLCH L 45.0% C 0.107 H 310.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#684281
RGBrgb(104, 66, 129)
HSLhsl(276, 32%, 38%)
HSVhsv(276, 49%, 51%)
CMYKcmyk(19.4%, 48.8%, 0%, 49.4%)
CIE-LABlab(34.85, 28.96, -29.29)
CIE-LCHlch(34.85, 41.19, 314.68°)
OKLaboklab(45.03% 0.0699 -0.0816)
OKLCHoklch(45.03% 0.107 310.6)
XYZxyz(11.6189, 8.4247, 21.7787)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684281 #5B8142
analogous
#484281 #684281 #81427A
triadic
#684281 #816842 #428168
tetradic
#684281 #814842 #5B8142 #427A81
square
#684281 #814842 #5B8142 #427A81
split-complementary
#684281 #7A8142 #428148
monochromatic
#271930 #472D59 #684281 #8957A9 #A580BE

Accessibility & contrast

On white

7.82
#684281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#684281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684281
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684281#FFFFFF#000000##FFFFFF
##6842811.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335083
Deuteranopia (green-blind)
#3E537F
Tritanopia (blue-blind)
#654C5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684281;
/* rgb */ color: rgb(104, 66, 129);
/* oklch */ color: oklch(45.0% 0.107 310.6);
Tailwind
colors: {
  custom: {
    50: '#9577a6',
    500: '#684281',
    950: '#000000',
  },
}
SCSS
$custom: #684281;
$custom-light: #9577a6;
$custom-dark: #000000;
JSON
{
  "hex": "#684281",
  "rgb": {
    "r": 104,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 276.19,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.10744,
    "h": 310.6
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#684281
secondary
#8AA976
accent
#C85F89
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #684281

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

Preview Lab → · Contrast checker → · Palette generator →

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