#604EB3#604EB3

#604EB3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.154 H 287.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#604EB3
RGBrgb(96, 78, 179)
HSLhsl(251, 40%, 50%)
HSVhsv(251, 56%, 70%)
CMYKcmyk(46.4%, 56.4%, 0%, 29.8%)
CIE-LABlab(39.90, 33.30, -51.46)
CIE-LCHlch(39.90, 61.29, 302.91°)
OKLaboklab(49.56% 0.0466 -0.1467)
OKLCHoklch(49.56% 0.154 287.6)
XYZxyz(15.6826, 11.1896, 43.9726)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EB3 #A1B34E
analogous
#4E6EB3 #604EB3 #924EB3
triadic
#604EB3 #B3604E #4EB360
tetradic
#604EB3 #B34E6E #A1B34E #4EB392
square
#604EB3 #B34E6E #A1B34E #4EB392
split-complementary
#604EB3 #B3924E #6EB34E
monochromatic
#32285E #493B89 #604EB3 #8679C5 #ADA4D8

Accessibility & contrast

On white

6.49
#604EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#604EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EB3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EB3#FFFFFF#000000##FFFFFF
##604EB31.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#115BB1
Tritanopia (blue-blind)
#466479
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604eb3;
/* rgb */ color: rgb(96, 78, 179);
/* oklch */ color: oklch(49.6% 0.154 287.6);
Tailwind
colors: {
  custom: {
    50: '#9380ca',
    500: '#604eb3',
    950: '#000000',
  },
}
SCSS
$custom: #604eb3;
$custom-light: #9380ca;
$custom-dark: #000000;
JSON
{
  "hex": "#604eb3",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 250.693,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.15395,
    "h": 287.6
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#604EB3
secondary
#BDC598
accent
#D058BA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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