#604BA5#604BA5

#604BA5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.1% C 0.139 H 291.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#604BA5
RGBrgb(96, 75, 165)
HSLhsl(254, 38%, 47%)
HSVhsv(254, 55%, 65%)
CMYKcmyk(41.8%, 54.5%, 0%, 35.3%)
CIE-LABlab(38.26, 30.99, -45.79)
CIE-LCHlch(38.26, 55.29, 304.09°)
OKLaboklab(48.05% 0.0499 -0.1301)
OKLCHoklch(48.05% 0.139 291)
XYZxyz(14.1296, 10.2351, 36.8211)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BA5 #90A54B
analogous
#4B63A5 #604BA5 #8D4BA5
triadic
#604BA5 #A5604B #4BA560
tetradic
#604BA5 #A54B63 #90A54B #4BA58D
square
#604BA5 #A54B63 #90A54B #4BA58D
split-complementary
#604BA5 #A58D4B #63A54B
monochromatic
#2F2551 #48387B #604BA5 #826FBE #A69AD1

Accessibility & contrast

On white

6.89
#604BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#604BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BA5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BA5#FFFFFF#000000##FFFFFF
##604BA51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA8
Deuteranopia (green-blind)
#2458A3
Tritanopia (blue-blind)
#4D5E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ba5;
/* rgb */ color: rgb(96, 75, 165);
/* oklch */ color: oklch(48.1% 0.139 291.0);
Tailwind
colors: {
  custom: {
    50: '#917ec0',
    500: '#604ba5',
    950: '#000000',
  },
}
SCSS
$custom: #604ba5;
$custom-light: #917ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ba5",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 254,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.13931,
    "h": 291
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#604BA5
secondary
#B2BD8F
accent
#CD5AB3
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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