#604C8B#604C8B

#604C8B is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.6% C 0.101 H 296.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#604C8B
RGBrgb(96, 76, 139)
HSLhsl(259, 29%, 42%)
HSVhsv(259, 45%, 55%)
CMYKcmyk(30.9%, 45.3%, 0%, 45.5%)
CIE-LABlab(36.97, 23.00, -32.16)
CIE-LCHlch(36.97, 39.53, 305.57°)
OKLaboklab(46.59% 0.0458 -0.0902)
OKLCHoklch(46.59% 0.101 296.9)
XYZxyz(12.0674, 9.5196, 25.6228)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604C8B #778B4C
analogous
#4C588B #604C8B #804C8B
triadic
#604C8B #8B604C #4C8B60
tetradic
#604C8B #8B4C58 #778B4C #4C8B80
square
#604C8B #8B4C58 #778B4C #4C8B80
split-complementary
#604C8B #8B804C #588B4C
monochromatic
#29213C #453663 #604C8B #7E68AC #9F8FC2

Accessibility & contrast

On white

7.23
#604C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604C8B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604C8B#FFFFFF#000000##FFFFFF
##604C8B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#575765
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #604c8b;
/* rgb */ color: rgb(96, 76, 139);
/* oklch */ color: oklch(46.6% 0.101 296.9);
Tailwind
colors: {
  custom: {
    50: '#8f7ead',
    500: '#604c8b',
    950: '#000000',
  },
}
SCSS
$custom: #604c8b;
$custom-light: #8f7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#604c8b",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 259.048,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.10115,
    "h": 296.9
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#604C8B
secondary
#A1AE85
accent
#C662A6
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #604C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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