#604196#604196

#604196 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.3% C 0.135 H 297.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#604196
RGBrgb(96, 65, 150)
HSLhsl(262, 40%, 42%)
HSVhsv(262, 57%, 59%)
CMYKcmyk(36%, 56.7%, 0%, 41.2%)
CIE-LABlab(34.94, 32.77, -42.08)
CIE-LCHlch(34.94, 53.33, 307.91°)
OKLaboklab(45.29% 0.0623 -0.1192)
OKLCHoklch(45.29% 0.135 297.6)
XYZxyz(12.2178, 8.4692, 29.8393)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604196 #779641
analogous
#414D96 #604196 #8B4196
triadic
#604196 #966041 #419660
tetradic
#604196 #96414D #779641 #41968B
square
#604196 #96414D #779641 #41968B
split-complementary
#604196 #968B41 #4D9641
monochromatic
#291C41 #452E6B #604196 #7E5CB8 #9F87CB

Accessibility & contrast

On white

7.80
#604196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #604196
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604196#FFFFFF#000000##FFFFFF
##6041961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#545265
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #604196;
/* rgb */ color: rgb(96, 65, 150);
/* oklch */ color: oklch(45.3% 0.135 297.6);
Tailwind
colors: {
  custom: {
    50: '#9077b5',
    500: '#604196',
    950: '#000000',
  },
}
SCSS
$custom: #604196;
$custom-light: #9077b5;
$custom-dark: #000000;
JSON
{
  "hex": "#604196",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 261.882,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.13451,
    "h": 297.6
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#604196
secondary
#A1B67D
accent
#CF58A4
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #604196

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

Preview Lab → · Contrast checker → · Palette generator →

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