#604AAA#604AAA

#604AAA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.2% C 0.148 H 290.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#604AAA
RGBrgb(96, 74, 170)
HSLhsl(254, 39%, 48%)
HSVhsv(254, 56%, 67%)
CMYKcmyk(43.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(38.35, 33.05, -48.62)
CIE-LCHlch(38.35, 58.79, 304.21°)
OKLaboklab(48.23% 0.0513 -0.1384)
OKLCHoklch(48.23% 0.148 290.3)
XYZxyz(14.5263, 10.2862, 39.2425)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AAA #94AA4A
analogous
#4A64AA #604AAA #904AAA
triadic
#604AAA #AA604A #4AAA60
tetradic
#604AAA #AA4A64 #94AA4A #4AAA90
square
#604AAA #AA4A64 #94AA4A #4AAA90
split-complementary
#604AAA #AA904A #64AA4A
monochromatic
#302555 #48377F #604AAA #8370C1 #A89BD3

Accessibility & contrast

On white

6.87
#604AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#604AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AAA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AAA#FFFFFF#000000##FFFFFF
##604AAA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#1A58A8
Tritanopia (blue-blind)
#4B5F73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604aaa;
/* rgb */ color: rgb(96, 74, 170);
/* oklch */ color: oklch(48.2% 0.148 290.3);
Tailwind
colors: {
  custom: {
    50: '#927dc4',
    500: '#604aaa',
    950: '#000000',
  },
}
SCSS
$custom: #604aaa;
$custom-light: #927dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#604aaa",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 253.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.14759,
    "h": 290.3
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#604AAA
secondary
#B5C090
accent
#CF59B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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