#604FA4#604FA4

#604FA4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.7% C 0.132 H 289.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#604FA4
RGBrgb(96, 79, 164)
HSLhsl(252, 35%, 48%)
HSVhsv(252, 52%, 64%)
CMYKcmyk(41.5%, 51.8%, 0%, 35.7%)
CIE-LABlab(39.17, 28.24, -43.73)
CIE-LCHlch(39.17, 52.06, 302.85°)
OKLaboklab(48.71% 0.0447 -0.124)
OKLCHoklch(48.71% 0.132 289.8)
XYZxyz(14.3188, 10.7586, 36.4370)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA4 #93A44F
analogous
#4F69A4 #604FA4 #8A4FA4
triadic
#604FA4 #A4604F #4FA460
tetradic
#604FA4 #A44F69 #93A44F #4FA48A
square
#604FA4 #A44F69 #93A44F #4FA48A
split-complementary
#604FA4 #A48A4F #69A44F
monochromatic
#302751 #483B7B #604FA4 #8374BC #A89DD0

Accessibility & contrast

On white

6.66
#604FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604FA4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA4#FFFFFF#000000##FFFFFF
##604FA41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604fa4;
/* rgb */ color: rgb(96, 79, 164);
/* oklch */ color: oklch(48.7% 0.132 289.8);
Tailwind
colors: {
  custom: {
    50: '#9180bf',
    500: '#604fa4',
    950: '#000000',
  },
}
SCSS
$custom: #604fa4;
$custom-light: #9180bf;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa4",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 252,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.13184,
    "h": 289.8
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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