#684097#684097

#684097 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.139 H 302.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#684097
RGBrgb(104, 64, 151)
HSLhsl(268, 40%, 42%)
HSVhsv(268, 58%, 59%)
CMYKcmyk(31.1%, 57.6%, 0%, 40.8%)
CIE-LABlab(35.68, 35.68, -41.45)
CIE-LCHlch(35.68, 54.69, 310.72°)
OKLaboklab(46.06% 0.0746 -0.1171)
OKLCHoklch(46.06% 0.139 302.5)
XYZxyz(13.1270, 8.8442, 30.2877)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684097 #6F9740
analogous
#404497 #684097 #944097
triadic
#684097 #976840 #409768
tetradic
#684097 #974044 #6F9740 #409794
square
#684097 #974044 #6F9740 #409794
split-complementary
#684097 #979440 #449740
monochromatic
#2D1C41 #4A2E6C #684097 #865BB9 #A686CC

Accessibility & contrast

On white

7.58
#684097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#684097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684097
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684097#FFFFFF#000000##FFFFFF
##6840971.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#5F5165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #684097;
/* rgb */ color: rgb(104, 64, 151);
/* oklch */ color: oklch(46.1% 0.139 302.5);
Tailwind
colors: {
  custom: {
    50: '#9676b6',
    500: '#684097',
    950: '#000000',
  },
}
SCSS
$custom: #684097;
$custom-light: #9676b6;
$custom-dark: #000000;
JSON
{
  "hex": "#684097",
  "rgb": {
    "r": 104,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 267.586,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.13884,
    "h": 302.5
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#684097
secondary
#9CB67D
accent
#D05799
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684097

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

Preview Lab → · Contrast checker → · Palette generator →

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