#604FA5#604FA5

#604FA5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.8% C 0.133 H 289.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#604FA5
RGBrgb(96, 79, 165)
HSLhsl(252, 35%, 48%)
HSVhsv(252, 52%, 65%)
CMYKcmyk(41.8%, 52.1%, 0%, 35.3%)
CIE-LABlab(39.23, 28.54, -44.23)
CIE-LCHlch(39.23, 52.63, 302.83°)
OKLaboklab(48.78% 0.0448 -0.1255)
OKLCHoklch(48.78% 0.133 289.6)
XYZxyz(14.4095, 10.7949, 36.9144)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA5 #94A54F
analogous
#4F69A5 #604FA5 #8B4FA5
triadic
#604FA5 #A5604F #4FA560
tetradic
#604FA5 #A54F69 #94A54F #4FA58B
square
#604FA5 #A54F69 #94A54F #4FA58B
split-complementary
#604FA5 #A58B4F #69A54F
monochromatic
#302752 #483B7C #604FA5 #8375BD #A89ED1

Accessibility & contrast

On white

6.65
#604FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#604FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA5#FFFFFF#000000##FFFFFF
##604FA51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#4D6172
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604fa5;
/* rgb */ color: rgb(96, 79, 165);
/* oklch */ color: oklch(48.8% 0.133 289.6);
Tailwind
colors: {
  custom: {
    50: '#9180c0',
    500: '#604fa5',
    950: '#000000',
  },
}
SCSS
$custom: #604fa5;
$custom-light: #9180c0;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa5",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 251.86,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.13323,
    "h": 289.6
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#604FA5
secondary
#B5BD92
accent
#CB5DB5
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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