#604FA7#604FA7

#604FA7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 48.9% C 0.136 H 289.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#604FA7
RGBrgb(96, 79, 167)
HSLhsl(252, 36%, 48%)
HSVhsv(252, 53%, 65%)
CMYKcmyk(42.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(39.36, 29.12, -45.22)
CIE-LCHlch(39.36, 53.79, 302.78°)
OKLaboklab(48.91% 0.0449 -0.1284)
OKLCHoklch(48.91% 0.136 289.3)
XYZxyz(14.5930, 10.8683, 37.8806)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA7 #96A74F
analogous
#4F6AA7 #604FA7 #8C4FA7
triadic
#604FA7 #A7604F #4FA760
tetradic
#604FA7 #A74F6A #96A74F #4FA78C
square
#604FA7 #A74F6A #96A74F #4FA78C
split-complementary
#604FA7 #A78C4F #6AA74F
monochromatic
#302854 #483B7D #604FA7 #8375BE #A99FD2

Accessibility & contrast

On white

6.62
#604FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#604FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA7#FFFFFF#000000##FFFFFF
##604FA71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAA
Deuteranopia (green-blind)
#295BA5
Tritanopia (blue-blind)
#4C6173
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604fa7;
/* rgb */ color: rgb(96, 79, 167);
/* oklch */ color: oklch(48.9% 0.136 289.3);
Tailwind
colors: {
  custom: {
    50: '#9180c2',
    500: '#604fa7',
    950: '#000000',
  },
}
SCSS
$custom: #604fa7;
$custom-light: #9180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa7",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 251.591,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.13602,
    "h": 289.3
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#604FA7
secondary
#B6BE93
accent
#CC5CB6
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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