#604B97#604B97

#604B97 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.1% C 0.120 H 294.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#604B97
RGBrgb(96, 75, 151)
HSLhsl(257, 34%, 44%)
HSVhsv(257, 50%, 59%)
CMYKcmyk(36.4%, 50.3%, 0%, 40.8%)
CIE-LABlab(37.40, 26.96, -38.76)
CIE-LCHlch(37.40, 47.22, 304.82°)
OKLaboklab(47.13% 0.0489 -0.1095)
OKLCHoklch(47.13% 0.12 294)
XYZxyz(12.9244, 9.7531, 30.4737)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604B97 #82974B
analogous
#4B5C97 #604B97 #864B97
triadic
#604B97 #97604B #4B9760
tetradic
#604B97 #974B5C #82974B #4B9786
square
#604B97 #974B5C #82974B #4B9786
split-complementary
#604B97 #97864B #5C974B
monochromatic
#2C2245 #46376E #604B97 #7F6AB5 #A293C9

Accessibility & contrast

On white

7.12
#604B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604B97
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604B97#FFFFFF#000000##FFFFFF
##604B971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#535A6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #604b97;
/* rgb */ color: rgb(96, 75, 151);
/* oklch */ color: oklch(47.1% 0.120 294.0);
Tailwind
colors: {
  custom: {
    50: '#907db6',
    500: '#604b97',
    950: '#000000',
  },
}
SCSS
$custom: #604b97;
$custom-light: #907db6;
$custom-dark: #000000;
JSON
{
  "hex": "#604b97",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 256.579,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.11988,
    "h": 294
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#604B97
secondary
#A9B688
accent
#CA5EAC
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #604B97

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

Preview Lab → · Contrast checker → · Palette generator →

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