#604CBF#604CBF

#604CBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.173 H 286.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#604CBF
RGBrgb(96, 76, 191)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 60%, 75%)
CMYKcmyk(49.7%, 60.2%, 0%, 25.1%)
CIE-LABlab(40.27, 38.10, -57.89)
CIE-LCHlch(40.27, 69.30, 303.35°)
OKLaboklab(50.11% 0.0486 -0.1657)
OKLCHoklch(50.11% 0.173 286.4)
XYZxyz(16.8095, 11.4165, 50.5980)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CBF #ABBF4C
analogous
#4C71BF #604CBF #9A4CBF
triadic
#604CBF #BF604C #4CBF60
tetradic
#604CBF #BF4C71 #ABBF4C #4CBF9A
square
#604CBF #BF4C71 #ABBF4C #4CBF9A
split-complementary
#604CBF #BF9A4C #71BF4C
monochromatic
#32266B #473698 #604CBF #8879CF #B0A6DF

Accessibility & contrast

On white

6.40
#604CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#604CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CBF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CBF#FFFFFF#000000##FFFFFF
##604CBF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#3E677E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604cbf;
/* rgb */ color: rgb(96, 76, 191);
/* oklch */ color: oklch(50.1% 0.173 286.4);
Tailwind
colors: {
  custom: {
    50: '#947fd3',
    500: '#604cbf',
    950: '#000000',
  },
}
SCSS
$custom: #604cbf;
$custom-light: #947fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#604cbf",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 250.435,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.17266,
    "h": 286.4
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#604CBF
secondary
#C4CC9A
accent
#D751C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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