#604C97#604C97

#604C97 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.3% C 0.118 H 293.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#604C97
RGBrgb(96, 76, 151)
HSLhsl(256, 33%, 45%)
HSVhsv(256, 50%, 59%)
CMYKcmyk(36.4%, 49.7%, 0%, 40.8%)
CIE-LABlab(37.64, 26.34, -38.37)
CIE-LCHlch(37.64, 46.54, 304.48°)
OKLaboklab(47.32% 0.0475 -0.1083)
OKLCHoklch(47.32% 0.118 293.7)
XYZxyz(12.9928, 9.8898, 30.4965)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604C97 #83974C
analogous
#4C5E97 #604C97 #864C97
triadic
#604C97 #97604C #4C9760
tetradic
#604C97 #974C5E #83974C #4C9786
square
#604C97 #974C5E #83974C #4C9786
split-complementary
#604C97 #97864C #5E974C
monochromatic
#2C2346 #46386E #604C97 #7F6BB5 #A294C9

Accessibility & contrast

On white

7.05
#604C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#604C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604C97
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604C97#FFFFFF#000000##FFFFFF
##604C971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#535B6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #604c97;
/* rgb */ color: rgb(96, 76, 151);
/* oklch */ color: oklch(47.3% 0.118 293.7);
Tailwind
colors: {
  custom: {
    50: '#907eb6',
    500: '#604c97',
    950: '#000000',
  },
}
SCSS
$custom: #604c97;
$custom-light: #907eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#604c97",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 256,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.11827,
    "h": 293.7
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#604C97
secondary
#AAB689
accent
#C95FAD
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604C97

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

Preview Lab → · Contrast checker → · Palette generator →

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