#604BB6#604BB6

#604BB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.162 H 288.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#604BB6
RGBrgb(96, 75, 182)
HSLhsl(252, 42%, 50%)
HSVhsv(252, 59%, 71%)
CMYKcmyk(47.3%, 58.8%, 0%, 28.6%)
CIE-LABlab(39.40, 36.00, -54.02)
CIE-LCHlch(39.40, 64.92, 303.68°)
OKLaboklab(49.26% 0.05 -0.1543)
OKLCHoklch(49.26% 0.162 288)
XYZxyz(15.7810, 10.8957, 45.5185)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BB6 #A1B64B
analogous
#4B6BB6 #604BB6 #954BB6
triadic
#604BB6 #B6604B #4BB660
tetradic
#604BB6 #B64B6B #A1B64B #4BB695
square
#604BB6 #B64B6B #A1B64B #4BB695
split-complementary
#604BB6 #B6954B #6BB64B
monochromatic
#322760 #49388B #604BB6 #8677C8 #ADA2D9

Accessibility & contrast

On white

6.61
#604BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#604BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BB6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BB6#FFFFFF#000000##FFFFFF
##604BB61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#446379
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #604bb6;
/* rgb */ color: rgb(96, 75, 182);
/* oklch */ color: oklch(49.3% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#937ecd',
    500: '#604bb6',
    950: '#000000',
  },
}
SCSS
$custom: #604bb6;
$custom-light: #937ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#604bb6",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 251.776,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.1622,
    "h": 288
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#604BB6
secondary
#BDC697
accent
#D256BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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