#604CB0#604CB0

#604CB0 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.153 H 288.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#604CB0
RGBrgb(96, 76, 176)
HSLhsl(252, 40%, 49%)
HSVhsv(252, 57%, 69%)
CMYKcmyk(45.5%, 56.8%, 0%, 31%)
CIE-LABlab(39.22, 33.62, -50.77)
CIE-LCHlch(39.22, 60.89, 303.51°)
OKLaboklab(49% 0.0489 -0.1447)
OKLCHoklch(49% 0.153 288.7)
XYZxyz(15.2426, 10.7897, 42.3454)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB0 #9CB04C
analogous
#4C6AB0 #604CB0 #924CB0
triadic
#604CB0 #B0604C #4CB060
tetradic
#604CB0 #B04C6A #9CB04C #4CB092
square
#604CB0 #B04C6A #9CB04C #4CB092
split-complementary
#604CB0 #B0924C #6AB04C
monochromatic
#31275B #493A85 #604CB0 #8576C4 #ABA0D6

Accessibility & contrast

On white

6.65
#604CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#604CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB0#FFFFFF#000000##FFFFFF
##604CB01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB3
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#476276
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604cb0;
/* rgb */ color: rgb(96, 76, 176);
/* oklch */ color: oklch(49.0% 0.153 288.7);
Tailwind
colors: {
  custom: {
    50: '#937fc8',
    500: '#604cb0',
    950: '#000000',
  },
}
SCSS
$custom: #604cb0;
$custom-light: #937fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb0",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 252,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49,
    "c": 0.15277,
    "h": 288.7
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#604CB0
secondary
#BAC395
accent
#D058B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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