#604FA3#604FA3

#604FA3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.6% C 0.130 H 290.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#604FA3
RGBrgb(96, 79, 163)
HSLhsl(252, 35%, 47%)
HSVhsv(252, 52%, 64%)
CMYKcmyk(41.1%, 51.5%, 0%, 36.1%)
CIE-LABlab(39.11, 27.95, -43.23)
CIE-LCHlch(39.11, 51.48, 302.88°)
OKLaboklab(48.65% 0.0446 -0.1226)
OKLCHoklch(48.65% 0.13 290)
XYZxyz(14.2289, 10.7227, 35.9632)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA3 #92A34F
analogous
#4F68A3 #604FA3 #8A4FA3
triadic
#604FA3 #A3604F #4FA360
tetradic
#604FA3 #A34F68 #92A34F #4FA38A
square
#604FA3 #A34F68 #92A34F #4FA38A
split-complementary
#604FA3 #A38A4F #68A34F
monochromatic
#2F2751 #483B7A #604FA3 #8274BB #A79DCF

Accessibility & contrast

On white

6.68
#604FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA3#FFFFFF#000000##FFFFFF
##604FA31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#4E6071
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604fa3;
/* rgb */ color: rgb(96, 79, 163);
/* oklch */ color: oklch(48.6% 0.130 290.0);
Tailwind
colors: {
  custom: {
    50: '#9180bf',
    500: '#604fa3',
    950: '#000000',
  },
}
SCSS
$custom: #604fa3;
$custom-light: #9180bf;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa3",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 252.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.13043,
    "h": 290
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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