#604A8A#604A8A

#604A8A is a mid, moderate violet. Relative luminance 0.092; OKLCH L 46.1% C 0.103 H 298.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#604A8A
RGBrgb(96, 74, 138)
HSLhsl(261, 30%, 42%)
HSVhsv(261, 46%, 54%)
CMYKcmyk(30.4%, 46.4%, 0%, 45.9%)
CIE-LABlab(36.40, 23.97, -32.44)
CIE-LCHlch(36.40, 40.33, 306.47°)
OKLaboklab(46.15% 0.0486 -0.091)
OKLCHoklch(46.15% 0.103 298.1)
XYZxyz(11.8590, 9.2192, 25.1945)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604A8A #748A4A
analogous
#4A548A #604A8A #804A8A
triadic
#604A8A #8A604A #4A8A60
tetradic
#604A8A #8A4A54 #748A4A #4A8A80
square
#604A8A #8A4A54 #748A4A #4A8A80
split-complementary
#604A8A #8A804A #548A4A
monochromatic
#291F3A #443562 #604A8A #7D65AC #9F8DC2

Accessibility & contrast

On white

7.38
#604A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#604A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604A8A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604A8A#FFFFFF#000000##FFFFFF
##604A8A1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#575663
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #604a8a;
/* rgb */ color: rgb(96, 74, 138);
/* oklch */ color: oklch(46.1% 0.103 298.1);
Tailwind
colors: {
  custom: {
    50: '#8f7dac',
    500: '#604a8a',
    950: '#000000',
  },
}
SCSS
$custom: #604a8a;
$custom-light: #8f7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#604a8a",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 260.625,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.10316,
    "h": 298.1
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#604A8A
secondary
#9FAE82
accent
#C661A4
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #604A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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