#604E8A#604E8A

#604E8A is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.9% C 0.096 H 296.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#604E8A
RGBrgb(96, 78, 138)
HSLhsl(258, 28%, 42%)
HSVhsv(258, 43%, 54%)
CMYKcmyk(30.4%, 43.5%, 0%, 45.9%)
CIE-LABlab(37.43, 21.48, -30.82)
CIE-LCHlch(37.43, 37.56, 304.87°)
OKLaboklab(46.92% 0.0427 -0.0863)
OKLCHoklch(46.92% 0.096 296.3)
XYZxyz(12.1346, 9.7704, 25.2864)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604E8A #788A4E
analogous
#4E5A8A #604E8A #7E4E8A
triadic
#604E8A #8A604E #4E8A60
tetradic
#604E8A #8A4E5A #788A4E #4E8A7E
square
#604E8A #8A4E5A #788A4E #4E8A7E
split-complementary
#604E8A #8A7E4E #5A8A4E
monochromatic
#2A223C #453863 #604E8A #7E6AAB #A091C1

Accessibility & contrast

On white

7.11
#604E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#604E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604E8A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604E8A#FFFFFF#000000##FFFFFF
##604E8A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588C
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#575965
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604e8a;
/* rgb */ color: rgb(96, 78, 138);
/* oklch */ color: oklch(46.9% 0.096 296.3);
Tailwind
colors: {
  custom: {
    50: '#8f80ac',
    500: '#604e8a',
    950: '#000000',
  },
}
SCSS
$custom: #604e8a;
$custom-light: #8f80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#604e8a",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 258,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46917,
    "c": 0.09627,
    "h": 296.3
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#604E8A
secondary
#A2AE86
accent
#C464A7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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