#604698#604698

#604698 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.129 H 295.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#604698
RGBrgb(96, 70, 152)
HSLhsl(259, 37%, 44%)
HSVhsv(259, 54%, 60%)
CMYKcmyk(36.8%, 53.9%, 0%, 40.4%)
CIE-LABlab(36.24, 30.31, -41.21)
CIE-LCHlch(36.24, 51.16, 306.33°)
OKLaboklab(46.29% 0.0557 -0.1167)
OKLCHoklch(46.29% 0.129 295.5)
XYZxyz(12.6801, 9.1339, 30.7946)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604698 #7E9846
analogous
#465598 #604698 #894698
triadic
#604698 #986046 #469860
tetradic
#604698 #984655 #7E9846 #469889
square
#604698 #984655 #7E9846 #469889
split-complementary
#604698 #988946 #559846
monochromatic
#2B1F44 #46336E #604698 #7E64B7 #A18ECB

Accessibility & contrast

On white

7.43
#604698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#604698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604698
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604698#FFFFFF#000000##FFFFFF
##6046981.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#535768
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #604698;
/* rgb */ color: rgb(96, 70, 152);
/* oklch */ color: oklch(46.3% 0.129 295.5);
Tailwind
colors: {
  custom: {
    50: '#907ab7',
    500: '#604698',
    950: '#000000',
  },
}
SCSS
$custom: #604698;
$custom-light: #907ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#604698",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 259.024,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4629,
    "c": 0.12929,
    "h": 295.5
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#604698
secondary
#A6B684
accent
#CD5BA9
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604698

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

Preview Lab → · Contrast checker → · Palette generator →

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