#604FA2#604FA2

#604FA2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.6% C 0.129 H 290.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#604FA2
RGBrgb(96, 79, 162)
HSLhsl(252, 34%, 47%)
HSVhsv(252, 51%, 64%)
CMYKcmyk(40.7%, 51.2%, 0%, 36.5%)
CIE-LABlab(39.05, 27.66, -42.73)
CIE-LCHlch(39.05, 50.90, 302.91°)
OKLaboklab(48.58% 0.0445 -0.1211)
OKLCHoklch(48.58% 0.129 290.2)
XYZxyz(14.1397, 10.6870, 35.4932)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FA2 #91A24F
analogous
#4F68A2 #604FA2 #8A4FA2
triadic
#604FA2 #A2604F #4FA260
tetradic
#604FA2 #A24F68 #91A24F #4FA28A
square
#604FA2 #A24F68 #91A24F #4FA28A
split-complementary
#604FA2 #A28A4F #68A24F
monochromatic
#2F2750 #483B79 #604FA2 #8273BB #A79CCF

Accessibility & contrast

On white

6.69
#604FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#604FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FA2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FA2#FFFFFF#000000##FFFFFF
##604FA21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#4E6071
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604fa2;
/* rgb */ color: rgb(96, 79, 162);
/* oklch */ color: oklch(48.6% 0.129 290.2);
Tailwind
colors: {
  custom: {
    50: '#9180be',
    500: '#604fa2',
    950: '#000000',
  },
}
SCSS
$custom: #604fa2;
$custom-light: #9180be;
$custom-dark: #000000;
JSON
{
  "hex": "#604fa2",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 252.289,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.12903,
    "h": 290.2
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#604FA2
secondary
#B3BC91
accent
#CB5DB4
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #604FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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