#604FB5#604FB5

#604FB5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.155 H 287.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#604FB5
RGBrgb(96, 79, 181)
HSLhsl(250, 41%, 51%)
HSVhsv(250, 56%, 71%)
CMYKcmyk(47%, 56.4%, 0%, 29%)
CIE-LABlab(40.27, 33.29, -52.04)
CIE-LCHlch(40.27, 61.77, 302.61°)
OKLaboklab(49.88% 0.0454 -0.1484)
OKLCHoklch(49.88% 0.155 287)
XYZxyz(15.9579, 11.4143, 45.0694)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB5 #A4B54F
analogous
#4F71B5 #604FB5 #934FB5
triadic
#604FB5 #B5604F #4FB560
tetradic
#604FB5 #B54F71 #A4B54F #4FB593
square
#604FB5 #B54F71 #A4B54F #4FB593
split-complementary
#604FB5 #B5934F #71B54F
monochromatic
#322961 #483B8C #604FB5 #877AC7 #AEA5D9

Accessibility & contrast

On white

6.40
#604FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#604FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB5#FFFFFF#000000##FFFFFF
##604FB51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#0F5CB3
Tritanopia (blue-blind)
#44667A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb5;
/* rgb */ color: rgb(96, 79, 181);
/* oklch */ color: oklch(49.9% 0.155 287.0);
Tailwind
colors: {
  custom: {
    50: '#9381cc',
    500: '#604fb5',
    950: '#000000',
  },
}
SCSS
$custom: #604fb5;
$custom-light: #9381cc;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb5",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 250,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.15523,
    "h": 287
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#604FB5
secondary
#BFC699
accent
#D157BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604FB5

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

Preview Lab → · Contrast checker → · Palette generator →

#604FB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva