#604BBE#604BBE

#604BBE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.173 H 286.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#604BBE
RGBrgb(96, 75, 190)
HSLhsl(251, 47%, 52%)
HSVhsv(251, 61%, 75%)
CMYKcmyk(49.5%, 60.5%, 0%, 25.5%)
CIE-LABlab(39.98, 38.39, -57.79)
CIE-LCHlch(39.98, 69.38, 303.60°)
OKLaboklab(49.86% 0.0498 -0.1654)
OKLCHoklch(49.86% 0.173 286.7)
XYZxyz(16.6315, 11.2359, 49.9976)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BBE #A9BE4B
analogous
#4B6FBE #604BBE #9A4BBE
triadic
#604BBE #BE604B #4BBE60
tetradic
#604BBE #BE4B6F #A9BE4B #4BBE9A
square
#604BBE #BE4B6F #A9BE4B #4BBE9A
split-complementary
#604BBE #BE9A4B #6FBE4B
monochromatic
#322669 #483696 #604BBE #8878CE #AFA5DE

Accessibility & contrast

On white

6.47
#604BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#604BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BBE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BBE#FFFFFF#000000##FFFFFF
##604BBE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#3F667D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604bbe;
/* rgb */ color: rgb(96, 75, 190);
/* oklch */ color: oklch(49.9% 0.173 286.7);
Tailwind
colors: {
  custom: {
    50: '#947ed2',
    500: '#604bbe',
    950: '#000000',
  },
}
SCSS
$custom: #604bbe;
$custom-light: #947ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#604bbe",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 250.957,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.17269,
    "h": 286.7
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#604BBE
secondary
#C2CC99
accent
#D751BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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