#604C8A#604C8A

#604C8A is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.5% C 0.100 H 297.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#604C8A
RGBrgb(96, 76, 138)
HSLhsl(259, 29%, 42%)
HSVhsv(259, 45%, 54%)
CMYKcmyk(30.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(36.91, 22.73, -31.63)
CIE-LCHlch(36.91, 38.95, 305.70°)
OKLaboklab(46.53% 0.0457 -0.0887)
OKLCHoklch(46.53% 0.1 297.2)
XYZxyz(11.9947, 9.4905, 25.2398)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604C8A #768A4C
analogous
#4C578A #604C8A #7F4C8A
triadic
#604C8A #8A604C #4C8A60
tetradic
#604C8A #8A4C57 #768A4C #4C8A7F
square
#604C8A #8A4C57 #768A4C #4C8A7F
split-complementary
#604C8A #8A7F4C #578A4C
monochromatic
#29213B #453663 #604C8A #7E68AC #9F8FC1

Accessibility & contrast

On white

7.25
#604C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#604C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604C8A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604C8A#FFFFFF#000000##FFFFFF
##604C8A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#575764
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #604c8a;
/* rgb */ color: rgb(96, 76, 138);
/* oklch */ color: oklch(46.5% 0.100 297.2);
Tailwind
colors: {
  custom: {
    50: '#8f7eac',
    500: '#604c8a',
    950: '#000000',
  },
}
SCSS
$custom: #604c8a;
$custom-light: #8f7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#604c8a",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 259.355,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.09971,
    "h": 297.2
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#604C8A
secondary
#A0AE84
accent
#C563A5
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#604C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva