#604397#604397

#604397 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.7% C 0.133 H 296.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#604397
RGBrgb(96, 67, 151)
HSLhsl(261, 39%, 43%)
HSVhsv(261, 56%, 59%)
CMYKcmyk(36.4%, 55.6%, 0%, 40.8%)
CIE-LABlab(35.47, 31.84, -41.84)
CIE-LCHlch(35.47, 52.58, 307.27°)
OKLaboklab(45.7% 0.0597 -0.1185)
OKLCHoklch(45.7% 0.133 296.7)
XYZxyz(12.4155, 8.7353, 30.3041)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604397 #7A9743
analogous
#435097 #604397 #8A4397
triadic
#604397 #976043 #439760
tetradic
#604397 #974350 #7A9743 #43978A
square
#604397 #974350 #7A9743 #43978A
split-complementary
#604397 #978A43 #509743
monochromatic
#2A1D42 #45306D #604397 #7E5FB8 #A08ACB

Accessibility & contrast

On white

7.64
#604397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604397
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604397#FFFFFF#000000##FFFFFF
##6043971.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#535466
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #604397;
/* rgb */ color: rgb(96, 67, 151);
/* oklch */ color: oklch(45.7% 0.133 296.7);
Tailwind
colors: {
  custom: {
    50: '#9078b6',
    500: '#604397',
    950: '#000000',
  },
}
SCSS
$custom: #604397;
$custom-light: #9078b6;
$custom-dark: #000000;
JSON
{
  "hex": "#604397",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 260.714,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.13269,
    "h": 296.7
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#604397
secondary
#A3B680
accent
#CE59A6
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604397

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

Preview Lab → · Contrast checker → · Palette generator →

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