#604395#604395

#604395 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.6% C 0.130 H 297.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#604395
RGBrgb(96, 67, 149)
HSLhsl(261, 38%, 42%)
HSVhsv(261, 55%, 58%)
CMYKcmyk(35.6%, 55%, 0%, 41.6%)
CIE-LABlab(35.34, 31.29, -40.83)
CIE-LCHlch(35.34, 51.44, 307.46°)
OKLaboklab(45.56% 0.0596 -0.1155)
OKLCHoklch(45.56% 0.13 297.3)
XYZxyz(12.2545, 8.6709, 29.4560)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604395 #789543
analogous
#434F95 #604395 #894395
triadic
#604395 #956043 #439560
tetradic
#604395 #95434F #789543 #439589
square
#604395 #95434F #789543 #439589
split-complementary
#604395 #958943 #4F9543
monochromatic
#2A1D41 #45306B #604395 #7E5EB7 #A089CA

Accessibility & contrast

On white

7.68
#604395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#604395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604395
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604395#FFFFFF#000000##FFFFFF
##6043951.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#545365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #604395;
/* rgb */ color: rgb(96, 67, 149);
/* oklch */ color: oklch(45.6% 0.130 297.3);
Tailwind
colors: {
  custom: {
    50: '#9078b5',
    500: '#604395',
    950: '#000000',
  },
}
SCSS
$custom: #604395;
$custom-light: #9078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#604395",
  "rgb": {
    "r": 96,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 261.22,
    "s": 37.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.13001,
    "h": 297.3
  },
  "luminance": 0.08671
}

Semantic roles & 50–950 ramp

primary
#604395
secondary
#A2B57F
accent
#CE5AA5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #604395

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

Preview Lab → · Contrast checker → · Palette generator →

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