#604FA0#604FA0

#604FA0 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.4% C 0.126 H 290.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#604FA0
RGBrgb(96, 79, 160)
HSLhsl(253, 34%, 47%)
HSVhsv(253, 51%, 63%)
CMYKcmyk(40%, 50.6%, 0%, 37.3%)
CIE-LABlab(38.93, 27.07, -41.73)
CIE-LCHlch(38.93, 49.74, 302.97°)
OKLaboklab(48.45% 0.0443 -0.1182)
OKLCHoklch(48.45% 0.126 290.6)
XYZxyz(13.9633, 10.6164, 34.5644)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA0 #8FA04F
analogous
#4F67A0 #604FA0 #894FA0
triadic
#604FA0 #A0604F #4FA060
tetradic
#604FA0 #A04F67 #8FA04F #4FA089
square
#604FA0 #A04F67 #8FA04F #4FA089
split-complementary
#604FA0 #A0894F #67A04F
monochromatic
#2F274E #473B77 #604FA0 #8173BA #A69CCE

Accessibility & contrast

On white

6.72
#604FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#604FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA0#FFFFFF#000000##FFFFFF
##604FA01.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#4F5F70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604fa0;
/* rgb */ color: rgb(96, 79, 160);
/* oklch */ color: oklch(48.4% 0.126 290.6);
Tailwind
colors: {
  custom: {
    50: '#9180bc',
    500: '#604fa0',
    950: '#000000',
  },
}
SCSS
$custom: #604fa0;
$custom-light: #9180bc;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa0",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 252.593,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.12621,
    "h": 290.6
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#604FA0
secondary
#B2BB90
accent
#CA5EB3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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