#604A97#604A97

#604A97 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 46.9% C 0.121 H 294.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#604A97
RGBrgb(96, 74, 151)
HSLhsl(257, 34%, 44%)
HSVhsv(257, 51%, 59%)
CMYKcmyk(36.4%, 51%, 0%, 40.8%)
CIE-LABlab(37.15, 27.58, -39.16)
CIE-LCHlch(37.15, 47.89, 305.16°)
OKLaboklab(46.95% 0.0502 -0.1106)
OKLCHoklch(46.95% 0.122 294.4)
XYZxyz(12.8571, 9.6185, 30.4513)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604A97 #81974A
analogous
#4A5B97 #604A97 #874A97
triadic
#604A97 #97604A #4A9760
tetradic
#604A97 #974A5B #81974A #4A9787
square
#604A97 #974A5B #81974A #4A9787
split-complementary
#604A97 #97874A #5B974A
monochromatic
#2C2245 #46366E #604A97 #7F69B5 #A292CA

Accessibility & contrast

On white

7.18
#604A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#604A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604A97
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604A97#FFFFFF#000000##FFFFFF
##604A971.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#535969
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #604a97;
/* rgb */ color: rgb(96, 74, 151);
/* oklch */ color: oklch(46.9% 0.121 294.4);
Tailwind
colors: {
  custom: {
    50: '#907db6',
    500: '#604a97',
    950: '#000000',
  },
}
SCSS
$custom: #604a97;
$custom-light: #907db6;
$custom-dark: #000000;
JSON
{
  "hex": "#604a97",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 257.143,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.1215,
    "h": 294.4
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#604A97
secondary
#A8B687
accent
#CA5DAB
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604A97

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

Preview Lab → · Contrast checker → · Palette generator →

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