#604FB4#604FB4

#604FB4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.154 H 287.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#604FB4
RGBrgb(96, 79, 180)
HSLhsl(250, 40%, 51%)
HSVhsv(250, 56%, 71%)
CMYKcmyk(46.7%, 56.1%, 0%, 29.4%)
CIE-LABlab(40.20, 32.99, -51.56)
CIE-LCHlch(40.20, 61.21, 302.62°)
OKLaboklab(49.81% 0.0454 -0.147)
OKLCHoklch(49.81% 0.154 287.2)
XYZxyz(15.8557, 11.3734, 44.5310)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB4 #A3B44F
analogous
#4F70B4 #604FB4 #924FB4
triadic
#604FB4 #B4604F #4FB460
tetradic
#604FB4 #B44F70 #A3B44F #4FB492
square
#604FB4 #B44F70 #A3B44F #4FB492
split-complementary
#604FB4 #B4924F #70B44F
monochromatic
#322960 #483B8B #604FB4 #877AC6 #AEA5D9

Accessibility & contrast

On white

6.41
#604FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#604FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB4#FFFFFF#000000##FFFFFF
##604FB41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#125CB2
Tritanopia (blue-blind)
#45657A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb4;
/* rgb */ color: rgb(96, 79, 180);
/* oklch */ color: oklch(49.8% 0.154 287.2);
Tailwind
colors: {
  custom: {
    50: '#9381cb',
    500: '#604fb4',
    950: '#000000',
  },
}
SCSS
$custom: #604fb4;
$custom-light: #9381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb4",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 250.099,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.15387,
    "h": 287.2
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#604FB4
secondary
#BEC699
accent
#D058BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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