#604BB0#604BB0

#604BB0 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.8% C 0.154 H 289.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#604BB0
RGBrgb(96, 75, 176)
HSLhsl(252, 40%, 49%)
HSVhsv(252, 57%, 69%)
CMYKcmyk(45.5%, 57.4%, 0%, 31%)
CIE-LABlab(38.99, 34.22, -51.15)
CIE-LCHlch(38.99, 61.54, 303.78°)
OKLaboklab(48.83% 0.0501 -0.1458)
OKLCHoklch(48.83% 0.154 289)
XYZxyz(15.1742, 10.6530, 42.3226)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BB0 #9BB04B
analogous
#4B69B0 #604BB0 #934BB0
triadic
#604BB0 #B0604B #4BB060
tetradic
#604BB0 #B04B69 #9BB04B #4BB093
square
#604BB0 #B04B69 #9BB04B #4BB093
split-complementary
#604BB0 #B0934B #69B04B
monochromatic
#31265A #493985 #604BB0 #8574C4 #AB9FD6

Accessibility & contrast

On white

6.71
#604BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#604BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BB0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BB0#FFFFFF#000000##FFFFFF
##604BB01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5EB3
Deuteranopia (green-blind)
#0E59AE
Tritanopia (blue-blind)
#476176
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604bb0;
/* rgb */ color: rgb(96, 75, 176);
/* oklch */ color: oklch(48.8% 0.154 289.0);
Tailwind
colors: {
  custom: {
    50: '#937ec8',
    500: '#604bb0',
    950: '#000000',
  },
}
SCSS
$custom: #604bb0;
$custom-light: #937ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#604bb0",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 252.475,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48827,
    "c": 0.15421,
    "h": 289
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#604BB0
secondary
#B9C394
accent
#D058B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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