#604CB7#604CB7

#604CB7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.162 H 287.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#604CB7
RGBrgb(96, 76, 183)
HSLhsl(251, 43%, 51%)
HSVhsv(251, 58%, 72%)
CMYKcmyk(47.5%, 58.5%, 0%, 28.2%)
CIE-LABlab(39.70, 35.70, -54.12)
CIE-LCHlch(39.70, 64.84, 303.41°)
OKLaboklab(49.51% 0.0489 -0.1546)
OKLCHoklch(49.51% 0.162 287.5)
XYZxyz(15.9531, 11.0739, 46.0875)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CB7 #A3B74C
analogous
#4C6DB7 #604CB7 #954CB7
triadic
#604CB7 #B7604C #4CB760
tetradic
#604CB7 #B74C6D #A3B74C #4CB795
square
#604CB7 #B74C6D #A3B74C #4CB795
split-complementary
#604CB7 #B7954C #6DB74C
monochromatic
#322761 #49398D #604CB7 #8778C9 #AEA3DA

Accessibility & contrast

On white

6.53
#604CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CB7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CB7#FFFFFF#000000##FFFFFF
##604CB71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#43647A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604cb7;
/* rgb */ color: rgb(96, 76, 183);
/* oklch */ color: oklch(49.5% 0.162 287.5);
Tailwind
colors: {
  custom: {
    50: '#937fcd',
    500: '#604cb7',
    950: '#000000',
  },
}
SCSS
$custom: #604cb7;
$custom-light: #937fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#604cb7",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 251.215,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.16213,
    "h": 287.5
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#604CB7
secondary
#BEC798
accent
#D255BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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