#604CA3#604CA3

#604CA3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.1% C 0.135 H 291.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#604CA3
RGBrgb(96, 76, 163)
HSLhsl(254, 36%, 47%)
HSVhsv(254, 53%, 64%)
CMYKcmyk(41.1%, 53.4%, 0%, 36.1%)
CIE-LABlab(38.37, 29.79, -44.41)
CIE-LCHlch(38.37, 53.48, 303.86°)
OKLaboklab(48.1% 0.0485 -0.126)
OKLCHoklch(48.1% 0.135 291)
XYZxyz(14.0174, 10.2996, 35.8927)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA3 #8FA34C
analogous
#4C64A3 #604CA3 #8C4CA3
triadic
#604CA3 #A3604C #4CA360
tetradic
#604CA3 #A34C64 #8FA34C #4CA38C
square
#604CA3 #A34C64 #8FA34C #4CA38C
split-complementary
#604CA3 #A38C4C #64A34C
monochromatic
#2F2550 #473979 #604CA3 #8170BC #A69AD0

Accessibility & contrast

On white

6.86
#604CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CA3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA3#FFFFFF#000000##FFFFFF
##604CA31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#2858A1
Tritanopia (blue-blind)
#4E5E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ca3;
/* rgb */ color: rgb(96, 76, 163);
/* oklch */ color: oklch(48.1% 0.135 291.0);
Tailwind
colors: {
  custom: {
    50: '#917ebf',
    500: '#604ca3',
    950: '#000000',
  },
}
SCSS
$custom: #604ca3;
$custom-light: #917ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca3",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 253.793,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.13503,
    "h": 291
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#604CA3
secondary
#B2BC8F
accent
#CC5BB2
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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