#684098#684098

#684098 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.1% C 0.140 H 302.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#684098
RGBrgb(104, 64, 152)
HSLhsl(267, 41%, 42%)
HSVhsv(267, 58%, 60%)
CMYKcmyk(31.6%, 57.9%, 0%, 40.4%)
CIE-LABlab(35.75, 35.94, -41.95)
CIE-LCHlch(35.75, 55.24, 310.59°)
OKLaboklab(46.13% 0.0746 -0.1186)
OKLCHoklch(46.13% 0.14 302.2)
XYZxyz(13.2085, 8.8768, 30.7172)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684098 #709840
analogous
#404498 #684098 #944098
triadic
#684098 #986840 #409868
tetradic
#684098 #984044 #709840 #409894
square
#684098 #984044 #709840 #409894
split-complementary
#684098 #989440 #449840
monochromatic
#2D1C42 #4B2E6D #684098 #865BBA #A686CC

Accessibility & contrast

On white

7.57
#684098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#684098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684098
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684098#FFFFFF#000000##FFFFFF
##6840981.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539B
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#5F5166
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #684098;
/* rgb */ color: rgb(104, 64, 152);
/* oklch */ color: oklch(46.1% 0.140 302.2);
Tailwind
colors: {
  custom: {
    50: '#9676b7',
    500: '#684098',
    950: '#000000',
  },
}
SCSS
$custom: #684098;
$custom-light: #9676b7;
$custom-dark: #000000;
JSON
{
  "hex": "#684098",
  "rgb": {
    "r": 104,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 267.273,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.1401,
    "h": 302.2
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#684098
secondary
#9DB77D
accent
#D15799
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684098

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

Preview Lab → · Contrast checker → · Palette generator →

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