#604BA2#604BA2

#604BA2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.9% C 0.135 H 291.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#604BA2
RGBrgb(96, 75, 162)
HSLhsl(254, 37%, 46%)
HSVhsv(254, 54%, 64%)
CMYKcmyk(40.7%, 53.7%, 0%, 36.5%)
CIE-LABlab(38.07, 30.11, -44.30)
CIE-LCHlch(38.07, 53.57, 304.21°)
OKLaboklab(47.85% 0.0497 -0.1257)
OKLCHoklch(47.85% 0.135 291.6)
XYZxyz(13.8598, 10.1272, 35.3999)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BA2 #8DA24B
analogous
#4B62A2 #604BA2 #8C4BA2
triadic
#604BA2 #A2604B #4BA260
tetradic
#604BA2 #A24B62 #8DA24B #4BA28C
square
#604BA2 #A24B62 #8DA24B #4BA28C
split-complementary
#604BA2 #A28C4B #62A24B
monochromatic
#2E244E #473878 #604BA2 #816EBC #A598CF

Accessibility & contrast

On white

6.94
#604BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#604BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BA2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BA2#FFFFFF#000000##FFFFFF
##604BA21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#4E5D6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #604ba2;
/* rgb */ color: rgb(96, 75, 162);
/* oklch */ color: oklch(47.9% 0.135 291.6);
Tailwind
colors: {
  custom: {
    50: '#917ebe',
    500: '#604ba2',
    950: '#000000',
  },
}
SCSS
$custom: #604ba2;
$custom-light: #917ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#604ba2",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 254.483,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.13519,
    "h": 291.6
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#604BA2
secondary
#B0BC8D
accent
#CD5BB1
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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