#604378#604378

#604378 is a dark, moderate violet. Relative luminance 0.079; OKLCH L 43.8% C 0.091 H 308.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#604378
RGBrgb(96, 67, 120)
HSLhsl(273, 28%, 37%)
HSVhsv(273, 44%, 47%)
CMYKcmyk(20%, 44.2%, 0%, 52.9%)
CIE-LABlab(33.68, 23.61, -25.60)
CIE-LCHlch(33.68, 34.82, 312.69°)
OKLaboklab(43.79% 0.0561 -0.0711)
OKLCHoklch(43.79% 0.091 308.3)
XYZxyz(10.2205, 7.8573, 18.7438)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604378 #5B7843
analogous
#464378 #604378 #784376
triadic
#604378 #786043 #437860
tetradic
#604378 #784643 #5B7843 #437678
square
#604378 #784643 #5B7843 #437678
split-complementary
#604378 #767843 #437846
monochromatic
#211729 #412D51 #604378 #7F599F #9D7EB7

Accessibility & contrast

On white

8.17
#604378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#604378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604378
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604378#FFFFFF#000000##FFFFFF
##6043781.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#5D4B57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #604378;
/* rgb */ color: rgb(96, 67, 120);
/* oklch */ color: oklch(43.8% 0.091 308.3);
Tailwind
colors: {
  custom: {
    50: '#8e789f',
    500: '#604378',
    950: '#000000',
  },
}
SCSS
$custom: #604378;
$custom-light: #8e789f;
$custom-dark: #000000;
JSON
{
  "hex": "#604378",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 272.83,
    "s": 28.342,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.0906,
    "h": 308.3
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#604378
secondary
#89A274
accent
#C5638F
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0C090E
muted
#7D7B7E

Preview Lab

Preview with #604378

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

Preview Lab → · Contrast checker → · Palette generator →

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