#604FB2#604FB2

#604FB2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.151 H 287.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#604FB2
RGBrgb(96, 79, 178)
HSLhsl(250, 39%, 50%)
HSVhsv(250, 56%, 70%)
CMYKcmyk(46.1%, 55.6%, 0%, 30.2%)
CIE-LABlab(40.07, 32.39, -50.59)
CIE-LCHlch(40.07, 60.07, 302.63°)
OKLaboklab(49.67% 0.0454 -0.1442)
OKLCHoklch(49.67% 0.151 287.5)
XYZxyz(15.6534, 11.2925, 43.4657)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB2 #A1B24F
analogous
#4F6FB2 #604FB2 #914FB2
triadic
#604FB2 #B2604F #4FB260
tetradic
#604FB2 #B24F6F #A1B24F #4FB291
square
#604FB2 #B24F6F #A1B24F #4FB291
split-complementary
#604FB2 #B2914F #6FB24F
monochromatic
#32295E #493C88 #604FB2 #867AC5 #ADA4D7

Accessibility & contrast

On white

6.44
#604FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#604FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB2#FFFFFF#000000##FFFFFF
##604FB21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#466579
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #604fb2;
/* rgb */ color: rgb(96, 79, 178);
/* oklch */ color: oklch(49.7% 0.151 287.5);
Tailwind
colors: {
  custom: {
    50: '#9381ca',
    500: '#604fb2',
    950: '#000000',
  },
}
SCSS
$custom: #604fb2;
$custom-light: #9381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb2",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 250.303,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.15116,
    "h": 287.5
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#604FB2
secondary
#BDC498
accent
#CF59BB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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