#604CB8#604CB8

#604CB8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.163 H 287.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#604CB8
RGBrgb(96, 76, 184)
HSLhsl(251, 43%, 51%)
HSVhsv(251, 59%, 72%)
CMYKcmyk(47.8%, 58.7%, 0%, 27.8%)
CIE-LABlab(39.77, 36.00, -54.60)
CIE-LCHlch(39.77, 65.40, 303.40°)
OKLaboklab(49.58% 0.0489 -0.156)
OKLCHoklch(49.58% 0.163 287.4)
XYZxyz(16.0575, 11.1157, 46.6376)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB8 #A4B84C
analogous
#4C6EB8 #604CB8 #964CB8
triadic
#604CB8 #B8604C #4CB860
tetradic
#604CB8 #B84C6E #A4B84C #4CB896
square
#604CB8 #B84C6E #A4B84C #4CB896
split-complementary
#604CB8 #B8964C #6EB84C
monochromatic
#322763 #48388E #604CB8 #8778C9 #AEA4DB

Accessibility & contrast

On white

6.52
#604CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#604CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CB8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB8#FFFFFF#000000##FFFFFF
##604CB81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#43657A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604cb8;
/* rgb */ color: rgb(96, 76, 184);
/* oklch */ color: oklch(49.6% 0.163 287.4);
Tailwind
colors: {
  custom: {
    50: '#947fce',
    500: '#604cb8',
    950: '#000000',
  },
}
SCSS
$custom: #604cb8;
$custom-light: #947fce;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb8",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 251.111,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49581,
    "c": 0.16345,
    "h": 287.4
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#604CB8
secondary
#BFC898
accent
#D355BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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