#604FB3#604FB3

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

Color values

HEX#604FB3
RGBrgb(96, 79, 179)
HSLhsl(250, 40%, 51%)
HSVhsv(250, 56%, 70%)
CMYKcmyk(46.4%, 55.9%, 0%, 29.8%)
CIE-LABlab(40.14, 32.69, -51.07)
CIE-LCHlch(40.14, 60.64, 302.62°)
OKLaboklab(49.74% 0.0454 -0.1456)
OKLCHoklch(49.74% 0.153 287.3)
XYZxyz(15.7542, 11.3328, 43.9964)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB3 #A2B34F
analogous
#4F70B3 #604FB3 #924FB3
triadic
#604FB3 #B3604F #4FB360
tetradic
#604FB3 #B34F70 #A2B34F #4FB392
square
#604FB3 #B34F70 #A2B34F #4FB392
split-complementary
#604FB3 #B3924F #70B34F
monochromatic
#32295F #493B89 #604FB3 #877AC5 #ADA4D8

Accessibility & contrast

On white

6.43
#604FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#604FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB3#FFFFFF#000000##FFFFFF
##604FB31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#456579
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb3;
/* rgb */ color: rgb(96, 79, 179);
/* oklch */ color: oklch(49.7% 0.153 287.3);
Tailwind
colors: {
  custom: {
    50: '#9381ca',
    500: '#604fb3',
    950: '#000000',
  },
}
SCSS
$custom: #604fb3;
$custom-light: #9381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb3",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 250.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.15252,
    "h": 287.3
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#604FB3
secondary
#BEC599
accent
#D058BB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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