#604398#604398

#604398 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.8% C 0.134 H 296.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#604398
RGBrgb(96, 67, 152)
HSLhsl(260, 39%, 43%)
HSVhsv(260, 56%, 60%)
CMYKcmyk(36.8%, 55.9%, 0%, 40.4%)
CIE-LABlab(35.53, 32.12, -42.34)
CIE-LCHlch(35.53, 53.15, 307.18°)
OKLaboklab(45.77% 0.0597 -0.12)
OKLCHoklch(45.77% 0.134 296.5)
XYZxyz(12.4971, 8.7679, 30.7336)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604398 #7B9843
analogous
#435098 #604398 #8B4398
triadic
#604398 #986043 #439860
tetradic
#604398 #984350 #7B9843 #43988B
square
#604398 #984350 #7B9843 #43988B
split-complementary
#604398 #988B43 #509843
monochromatic
#2A1E43 #45306E #604398 #7E60B9 #A08ACB

Accessibility & contrast

On white

7.63
#604398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#604398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604398
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604398#FFFFFF#000000##FFFFFF
##6043981.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#535467
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #604398;
/* rgb */ color: rgb(96, 67, 152);
/* oklch */ color: oklch(45.8% 0.134 296.5);
Tailwind
colors: {
  custom: {
    50: '#9178b7',
    500: '#604398',
    950: '#000000',
  },
}
SCSS
$custom: #604398;
$custom-light: #9178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#604398",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 260.471,
    "s": 38.813,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.13403,
    "h": 296.5
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#604398
secondary
#A4B680
accent
#CF59A7
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604398

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

Preview Lab → · Contrast checker → · Palette generator →

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