#684099#684099

#684099 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.2% C 0.141 H 301.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#684099
RGBrgb(104, 64, 153)
HSLhsl(267, 41%, 43%)
HSVhsv(267, 58%, 60%)
CMYKcmyk(32%, 58.2%, 0%, 40%)
CIE-LABlab(35.81, 36.20, -42.46)
CIE-LCHlch(35.81, 55.80, 310.45°)
OKLaboklab(46.2% 0.0746 -0.1201)
OKLCHoklch(46.2% 0.141 301.9)
XYZxyz(13.2908, 8.9097, 31.1504)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684099 #719940
analogous
#404599 #684099 #944099
triadic
#684099 #996840 #409968
tetradic
#684099 #994045 #719940 #409994
square
#684099 #994045 #719940 #409994
split-complementary
#684099 #999440 #459940
monochromatic
#2D1C43 #4B2E6E #684099 #865CBB #A687CD

Accessibility & contrast

On white

7.55
#684099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #684099
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684099#FFFFFF#000000##FFFFFF
##6840991.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549C
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#5E5266
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #684099;
/* rgb */ color: rgb(104, 64, 153);
/* oklch */ color: oklch(46.2% 0.141 301.9);
Tailwind
colors: {
  custom: {
    50: '#9676b7',
    500: '#684099',
    950: '#000000',
  },
}
SCSS
$custom: #684099;
$custom-light: #9676b7;
$custom-dark: #000000;
JSON
{
  "hex": "#684099",
  "rgb": {
    "r": 104,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 266.966,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.14137,
    "h": 301.9
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#684099
secondary
#9DB77E
accent
#D1579A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684099

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

Preview Lab → · Contrast checker → · Palette generator →

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