#604598#604598

#604598 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.1% C 0.131 H 295.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#604598
RGBrgb(96, 69, 152)
HSLhsl(260, 38%, 43%)
HSVhsv(260, 55%, 60%)
CMYKcmyk(36.8%, 54.6%, 0%, 40.4%)
CIE-LABlab(36.00, 30.92, -41.59)
CIE-LCHlch(36.00, 51.82, 306.62°)
OKLaboklab(46.11% 0.0571 -0.1178)
OKLCHoklch(46.11% 0.131 295.9)
XYZxyz(12.6180, 9.0098, 30.7740)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604598 #7D9845
analogous
#455398 #604598 #894598
triadic
#604598 #986045 #459860
tetradic
#604598 #984553 #7D9845 #459889
square
#604598 #984553 #7D9845 #459889
split-complementary
#604598 #988945 #539845
monochromatic
#2B1F44 #45326E #604598 #7E62B8 #A18CCB

Accessibility & contrast

On white

7.49
#604598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#604598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604598
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604598#FFFFFF#000000##FFFFFF
##6045981.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#295496
Tritanopia (blue-blind)
#535668
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #604598;
/* rgb */ color: rgb(96, 69, 152);
/* oklch */ color: oklch(46.1% 0.131 295.9);
Tailwind
colors: {
  custom: {
    50: '#9079b7',
    500: '#604598',
    950: '#000000',
  },
}
SCSS
$custom: #604598;
$custom-light: #9079b7;
$custom-dark: #000000;
JSON
{
  "hex": "#604598",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 259.518,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.13087,
    "h": 295.9
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#604598
secondary
#A5B682
accent
#CE5AA8
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604598

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

Preview Lab → · Contrast checker → · Palette generator →

#604598 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva