#604EB9#604EB9

#604EB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.162 H 286.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#604EB9
RGBrgb(96, 78, 185)
HSLhsl(250, 43%, 52%)
HSVhsv(250, 58%, 73%)
CMYKcmyk(48.1%, 57.8%, 0%, 27.5%)
CIE-LABlab(40.31, 35.10, -54.32)
CIE-LCHlch(40.31, 64.68, 302.87°)
OKLaboklab(50% 0.0466 -0.1552)
OKLCHoklch(50% 0.162 286.7)
XYZxyz(16.3027, 11.4376, 47.2382)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB9 #A7B94E
analogous
#4E72B9 #604EB9 #964EB9
triadic
#604EB9 #B9604E #4EB960
tetradic
#604EB9 #B94E72 #A7B94E #4EB996
square
#604EB9 #B94E72 #A7B94E #4EB996
split-complementary
#604EB9 #B9964E #72B94E
monochromatic
#322865 #483991 #604EB9 #877ACA #AFA6DC

Accessibility & contrast

On white

6.39
#604EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#604EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EB9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB9#FFFFFF#000000##FFFFFF
##604EB91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#42667C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604eb9;
/* rgb */ color: rgb(96, 78, 185);
/* oklch */ color: oklch(50.0% 0.162 286.7);
Tailwind
colors: {
  custom: {
    50: '#9480cf',
    500: '#604eb9',
    950: '#000000',
  },
}
SCSS
$custom: #604eb9;
$custom-light: #9480cf;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb9",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 250.093,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.16201,
    "h": 286.7
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#604EB9
secondary
#C1C99A
accent
#D355BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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