#684397#684397

#684397 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.6% C 0.134 H 301.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#684397
RGBrgb(104, 67, 151)
HSLhsl(266, 39%, 43%)
HSVhsv(266, 56%, 59%)
CMYKcmyk(31.1%, 55.6%, 0%, 40.8%)
CIE-LABlab(36.35, 33.94, -40.38)
CIE-LCHlch(36.35, 52.75, 310.04°)
OKLaboklab(46.55% 0.0705 -0.114)
OKLCHoklch(46.55% 0.134 301.8)
XYZxyz(13.3007, 9.1917, 30.3456)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684397 #729743
analogous
#434897 #684397 #924397
triadic
#684397 #976843 #439768
tetradic
#684397 #974348 #729743 #439792
square
#684397 #974348 #729743 #439792
split-complementary
#684397 #979243 #489743
monochromatic
#2E1D42 #4B306D #684397 #865FB8 #A68ACB

Accessibility & contrast

On white

7.40
#684397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#684397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684397
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684397#FFFFFF#000000##FFFFFF
##6843971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#5F5366
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #684397;
/* rgb */ color: rgb(104, 67, 151);
/* oklch */ color: oklch(46.6% 0.134 301.8);
Tailwind
colors: {
  custom: {
    50: '#9678b6',
    500: '#684397',
    950: '#000000',
  },
}
SCSS
$custom: #684397;
$custom-light: #9678b6;
$custom-dark: #000000;
JSON
{
  "hex": "#684397",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 266.429,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.13403,
    "h": 301.8
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#684397
secondary
#9EB680
accent
#CE599B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684397

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

Preview Lab → · Contrast checker → · Palette generator →

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