#604AAF#604AAF

#604AAF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.6% C 0.154 H 289.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#604AAF
RGBrgb(96, 74, 175)
HSLhsl(253, 41%, 49%)
HSVhsv(253, 58%, 69%)
CMYKcmyk(45.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(38.69, 34.52, -51.04)
CIE-LCHlch(38.69, 61.62, 304.07°)
OKLaboklab(48.58% 0.0513 -0.1455)
OKLCHoklch(48.58% 0.154 289.4)
XYZxyz(15.0083, 10.4790, 41.7810)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AAF #99AF4A
analogous
#4A67AF #604AAF #934AAF
triadic
#604AAF #AF604A #4AAF60
tetradic
#604AAF #AF4A67 #99AF4A #4AAF93
square
#604AAF #AF4A67 #99AF4A #4AAF93
split-complementary
#604AAF #AF934A #67AF4A
monochromatic
#312659 #483884 #604AAF #8473C4 #AA9ED6

Accessibility & contrast

On white

6.78
#604AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#604AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AAF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AAF#FFFFFF#000000##FFFFFF
##604AAF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB2
Deuteranopia (green-blind)
#0D59AD
Tritanopia (blue-blind)
#486075
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604aaf;
/* rgb */ color: rgb(96, 74, 175);
/* oklch */ color: oklch(48.6% 0.154 289.4);
Tailwind
colors: {
  custom: {
    50: '#937dc7',
    500: '#604aaf',
    950: '#000000',
  },
}
SCSS
$custom: #604aaf;
$custom-light: #937dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#604aaf",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 253.069,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.15431,
    "h": 289.4
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#604AAF
secondary
#B8C292
accent
#D057B6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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