#604CB1#604CB1

#604CB1 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.1% C 0.154 H 288.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#604CB1
RGBrgb(96, 76, 177)
HSLhsl(252, 40%, 50%)
HSVhsv(252, 57%, 69%)
CMYKcmyk(45.8%, 57.1%, 0%, 30.6%)
CIE-LABlab(39.29, 33.91, -51.25)
CIE-LCHlch(39.29, 61.46, 303.49°)
OKLaboklab(49.07% 0.0489 -0.1461)
OKLCHoklch(49.07% 0.154 288.5)
XYZxyz(15.3419, 10.8294, 42.8684)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB1 #9DB14C
analogous
#4C6BB1 #604CB1 #934CB1
triadic
#604CB1 #B1604C #4CB160
tetradic
#604CB1 #B14C6B #9DB14C #4CB193
square
#604CB1 #B14C6B #9DB14C #4CB193
split-complementary
#604CB1 #B1934C #6BB14C
monochromatic
#32275B #493A86 #604CB1 #8576C4 #ABA1D7

Accessibility & contrast

On white

6.63
#604CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#604CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB1#FFFFFF#000000##FFFFFF
##604CB11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB4
Deuteranopia (green-blind)
#0F5AAF
Tritanopia (blue-blind)
#476277
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604cb1;
/* rgb */ color: rgb(96, 76, 177);
/* oklch */ color: oklch(49.1% 0.154 288.5);
Tailwind
colors: {
  custom: {
    50: '#937fc9',
    500: '#604cb1',
    950: '#000000',
  },
}
SCSS
$custom: #604cb1;
$custom-light: #937fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb1",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 251.881,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.15412,
    "h": 288.5
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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