#604195#604195

#604195 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.2% C 0.133 H 297.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#604195
RGBrgb(96, 65, 149)
HSLhsl(262, 39%, 42%)
HSVhsv(262, 56%, 58%)
CMYKcmyk(35.6%, 56.4%, 0%, 41.6%)
CIE-LABlab(34.88, 32.49, -41.57)
CIE-LCHlch(34.88, 52.76, 308.01°)
OKLaboklab(45.22% 0.0623 -0.1177)
OKLCHoklch(45.22% 0.133 297.9)
XYZxyz(12.1376, 8.4372, 29.4170)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604195 #769541
analogous
#414C95 #604195 #8A4195
triadic
#604195 #956041 #419560
tetradic
#604195 #95414C #769541 #41958A
square
#604195 #95414C #769541 #41958A
split-complementary
#604195 #958A41 #4C9541
monochromatic
#291C40 #452E6A #604195 #7E5CB8 #9F86CA

Accessibility & contrast

On white

7.81
#604195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#604195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604195
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604195#FFFFFF#000000##FFFFFF
##6041951.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#545264
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604195;
/* rgb */ color: rgb(96, 65, 149);
/* oklch */ color: oklch(45.2% 0.133 297.9);
Tailwind
colors: {
  custom: {
    50: '#9077b5',
    500: '#604195',
    950: '#000000',
  },
}
SCSS
$custom: #604195;
$custom-light: #9077b5;
$custom-dark: #000000;
JSON
{
  "hex": "#604195",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 262.143,
    "s": 39.252,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.13319,
    "h": 297.9
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#604195
secondary
#A0B57D
accent
#CF59A3
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #604195

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

Preview Lab → · Contrast checker → · Palette generator →

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