#604197#604197

#604197 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.4% C 0.136 H 297.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#604197
RGBrgb(96, 65, 151)
HSLhsl(262, 40%, 42%)
HSVhsv(262, 57%, 59%)
CMYKcmyk(36.4%, 57%, 0%, 40.8%)
CIE-LABlab(35.01, 33.04, -42.58)
CIE-LCHlch(35.01, 53.90, 307.81°)
OKLaboklab(45.36% 0.0624 -0.1207)
OKLCHoklch(45.36% 0.136 297.3)
XYZxyz(12.2987, 8.5016, 30.2652)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604197 #789741
analogous
#414D97 #604197 #8B4197
triadic
#604197 #976041 #419760
tetradic
#604197 #97414D #789741 #41978B
square
#604197 #97414D #789741 #41978B
split-complementary
#604197 #978B41 #4D9741
monochromatic
#2A1C41 #452F6C #604197 #7E5CB9 #A087CB

Accessibility & contrast

On white

7.78
#604197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#604197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604197
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604197#FFFFFF#000000##FFFFFF
##6041971.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#535365
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604197;
/* rgb */ color: rgb(96, 65, 151);
/* oklch */ color: oklch(45.4% 0.136 297.3);
Tailwind
colors: {
  custom: {
    50: '#9177b6',
    500: '#604197',
    950: '#000000',
  },
}
SCSS
$custom: #604197;
$custom-light: #9177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#604197",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 261.628,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.13584,
    "h": 297.3
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#604197
secondary
#A2B67E
accent
#D058A5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #604197

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

Preview Lab → · Contrast checker → · Palette generator →

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