#684597#684597

#684597 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.9% C 0.131 H 301.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#684597
RGBrgb(104, 69, 151)
HSLhsl(266, 37%, 43%)
HSVhsv(266, 54%, 59%)
CMYKcmyk(31.1%, 54.3%, 0%, 40.8%)
CIE-LABlab(36.81, 32.76, -39.65)
CIE-LCHlch(36.81, 51.43, 309.56°)
OKLaboklab(46.89% 0.0678 -0.1118)
OKLCHoklch(46.89% 0.131 301.2)
XYZxyz(13.4217, 9.4336, 30.3859)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684597 #749745
analogous
#454B97 #684597 #914597
triadic
#684597 #976845 #459768
tetradic
#684597 #97454B #749745 #459791
square
#684597 #97454B #749745 #459791
split-complementary
#684597 #979145 #4B9745
monochromatic
#2E1F43 #4B326D #684597 #8662B7 #A78CCA

Accessibility & contrast

On white

7.27
#684597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#684597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684597
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684597#FFFFFF#000000##FFFFFF
##6845971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#5F5567
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684597;
/* rgb */ color: rgb(104, 69, 151);
/* oklch */ color: oklch(46.9% 0.131 301.2);
Tailwind
colors: {
  custom: {
    50: '#967ab6',
    500: '#684597',
    950: '#000000',
  },
}
SCSS
$custom: #684597;
$custom-light: #967ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#684597",
  "rgb": {
    "r": 104,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 265.61,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.13079,
    "h": 301.2
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#684597
secondary
#A0B682
accent
#CD5B9C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684597

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

Preview Lab → · Contrast checker → · Palette generator →

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