#604FB0#604FB0

#604FB0 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.148 H 287.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#604FB0
RGBrgb(96, 79, 176)
HSLhsl(251, 38%, 50%)
HSVhsv(251, 55%, 69%)
CMYKcmyk(45.5%, 55.1%, 0%, 31%)
CIE-LABlab(39.94, 31.80, -49.63)
CIE-LCHlch(39.94, 58.94, 302.65°)
OKLaboklab(49.53% 0.0453 -0.1413)
OKLCHoklch(49.53% 0.148 287.8)
XYZxyz(15.4541, 11.2127, 42.4159)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB0 #9FB04F
analogous
#4F6FB0 #604FB0 #904FB0
triadic
#604FB0 #B0604F #4FB060
tetradic
#604FB0 #B04F6F #9FB04F #4FB090
square
#604FB0 #B04F6F #9FB04F #4FB090
split-complementary
#604FB0 #B0904F #6FB04F
monochromatic
#32295C #493C86 #604FB0 #8679C3 #ACA3D6

Accessibility & contrast

On white

6.48
#604FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604FB0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB0#FFFFFF#000000##FFFFFF
##604FB01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B3
Deuteranopia (green-blind)
#1C5CAE
Tritanopia (blue-blind)
#476478
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604fb0;
/* rgb */ color: rgb(96, 79, 176);
/* oklch */ color: oklch(49.5% 0.148 287.8);
Tailwind
colors: {
  custom: {
    50: '#9281c8',
    500: '#604fb0',
    950: '#000000',
  },
}
SCSS
$custom: #604fb0;
$custom-light: #9281c8;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb0",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 250.515,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.14843,
    "h": 287.8
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#604FB0
secondary
#BCC398
accent
#CE5ABA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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