#604BC5#604BC5

#604BC5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.182 H 285.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#604BC5
RGBrgb(96, 75, 197)
HSLhsl(250, 51%, 53%)
HSVhsv(250, 62%, 77%)
CMYKcmyk(51.3%, 61.9%, 0%, 22.7%)
CIE-LABlab(40.49, 40.49, -61.03)
CIE-LCHlch(40.49, 73.24, 303.56°)
OKLaboklab(50.4% 0.0493 -0.1749)
OKLCHoklch(50.4% 0.182 285.8)
XYZxyz(17.4150, 11.5493, 54.1241)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BC5 #B0C54B
analogous
#4B73C5 #604BC5 #9D4BC5
triadic
#604BC5 #C5604B #4BC560
tetradic
#604BC5 #C54B73 #B0C54B #4BC59D
square
#604BC5 #C54B73 #B0C54B #4BC59D
split-complementary
#604BC5 #C59D4B #73C54B
monochromatic
#322471 #46339F #604BC5 #8979D4 #B2A8E3

Accessibility & contrast

On white

6.34
#604BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#604BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BC5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BC5#FFFFFF#000000##FFFFFF
##604BC51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#3A6881
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604bc5;
/* rgb */ color: rgb(96, 75, 197);
/* oklch */ color: oklch(50.4% 0.182 285.8);
Tailwind
colors: {
  custom: {
    50: '#957ed7',
    500: '#604bc5',
    950: '#000000',
  },
}
SCSS
$custom: #604bc5;
$custom-light: #957ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#604bc5",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 250.328,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.18175,
    "h": 285.8
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#604BC5
secondary
#C7D09C
accent
#DB4DC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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