#604CA2#604CA2

#604CA2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.0% C 0.134 H 291.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#604CA2
RGBrgb(96, 76, 162)
HSLhsl(254, 36%, 47%)
HSVhsv(254, 53%, 64%)
CMYKcmyk(40.7%, 53.1%, 0%, 36.5%)
CIE-LABlab(38.31, 29.50, -43.91)
CIE-LCHlch(38.31, 52.90, 303.90°)
OKLaboklab(48.03% 0.0484 -0.1246)
OKLCHoklch(48.03% 0.134 291.2)
XYZxyz(13.9281, 10.2639, 35.4227)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CA2 #8EA24C
analogous
#4C63A2 #604CA2 #8B4CA2
triadic
#604CA2 #A2604C #4CA260
tetradic
#604CA2 #A24C63 #8EA24C #4CA28B
square
#604CA2 #A24C63 #8EA24C #4CA28B
split-complementary
#604CA2 #A28B4C #63A24C
monochromatic
#2F254F #473878 #604CA2 #8170BC #A699CF

Accessibility & contrast

On white

6.88
#604CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#604CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CA2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CA2#FFFFFF#000000##FFFFFF
##604CA21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#4E5E6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ca2;
/* rgb */ color: rgb(96, 76, 162);
/* oklch */ color: oklch(48.0% 0.134 291.2);
Tailwind
colors: {
  custom: {
    50: '#917ebe',
    500: '#604ca2',
    950: '#000000',
  },
}
SCSS
$custom: #604ca2;
$custom-light: #917ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#604ca2",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 253.953,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.13365,
    "h": 291.2
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#604CA2
secondary
#B1BC8E
accent
#CC5CB2
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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