#604684#604684

#604684 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.0% C 0.102 H 301.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#604684
RGBrgb(96, 70, 132)
HSLhsl(265, 31%, 40%)
HSVhsv(265, 47%, 52%)
CMYKcmyk(27.3%, 47%, 0%, 48.2%)
CIE-LABlab(35.07, 24.84, -30.86)
CIE-LCHlch(35.07, 39.62, 308.84°)
OKLaboklab(45.04% 0.0536 -0.0864)
OKLCHoklch(45.04% 0.102 301.8)
XYZxyz(11.1780, 8.5330, 22.8835)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604684 #6A8446
analogous
#464B84 #604684 #7F4684
triadic
#604684 #846046 #468460
tetradic
#604684 #84464B #6A8446 #46847F
square
#604684 #84464B #6A8446 #46847F
split-complementary
#604684 #847F46 #4B8446
monochromatic
#261C34 #43315C #604684 #7D5EA9 #9E86BF

Accessibility & contrast

On white

7.76
#604684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#604684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604684
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604684#FFFFFF#000000##FFFFFF
##6046841.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#59515E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604684;
/* rgb */ color: rgb(96, 70, 132);
/* oklch */ color: oklch(45.0% 0.102 301.8);
Tailwind
colors: {
  custom: {
    50: '#8f7aa8',
    500: '#604684',
    950: '#000000',
  },
}
SCSS
$custom: #604684;
$custom-light: #8f7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#604684",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 265.161,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.10168,
    "h": 301.8
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#604684
secondary
#97AA7C
accent
#C7619C
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #604684

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

Preview Lab → · Contrast checker → · Palette generator →

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