#604BB2#604BB2

#604BB2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.157 H 288.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#604BB2
RGBrgb(96, 75, 178)
HSLhsl(252, 41%, 50%)
HSVhsv(252, 58%, 70%)
CMYKcmyk(46.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(39.13, 34.81, -52.11)
CIE-LCHlch(39.13, 62.67, 303.74°)
OKLaboklab(48.97% 0.0501 -0.1487)
OKLCHoklch(48.97% 0.157 288.6)
XYZxyz(15.3735, 10.7327, 43.3724)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BB2 #9DB24B
analogous
#4B6AB2 #604BB2 #944BB2
triadic
#604BB2 #B2604B #4BB260
tetradic
#604BB2 #B24B6A #9DB24B #4BB294
square
#604BB2 #B24B6A #9DB24B #4BB294
split-complementary
#604BB2 #B2944B #6AB24B
monochromatic
#32275C #493987 #604BB2 #8575C5 #ABA0D7

Accessibility & contrast

On white

6.67
#604BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#604BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BB2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BB2#FFFFFF#000000##FFFFFF
##604BB21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#075AB0
Tritanopia (blue-blind)
#466277
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604bb2;
/* rgb */ color: rgb(96, 75, 178);
/* oklch */ color: oklch(49.0% 0.157 288.6);
Tailwind
colors: {
  custom: {
    50: '#937eca',
    500: '#604bb2',
    950: '#000000',
  },
}
SCSS
$custom: #604bb2;
$custom-light: #937eca;
$custom-dark: #000000;
JSON
{
  "hex": "#604bb2",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 252.233,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.15688,
    "h": 288.6
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#604BB2
secondary
#BAC495
accent
#D157B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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