#604DBB#604DBB

#604DBB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.166 H 286.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#604DBB
RGBrgb(96, 77, 187)
HSLhsl(250, 45%, 52%)
HSVhsv(250, 59%, 73%)
CMYKcmyk(48.7%, 58.8%, 0%, 26.7%)
CIE-LABlab(40.22, 36.30, -55.64)
CIE-LCHlch(40.22, 66.44, 303.12°)
OKLaboklab(49.97% 0.0477 -0.1591)
OKLCHoklch(49.97% 0.166 286.7)
XYZxyz(16.4448, 11.3817, 48.3345)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DBB #A8BB4D
analogous
#4D71BB #604DBB #974DBB
triadic
#604DBB #BB604D #4DBB60
tetradic
#604DBB #BB4D71 #A8BB4D #4DBB97
square
#604DBB #BB4D71 #A8BB4D #4DBB97
split-complementary
#604DBB #BB974D #71BB4D
monochromatic
#322766 #483893 #604DBB #8879CC #AFA6DD

Accessibility & contrast

On white

6.41
#604DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#604DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DBB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DBB#FFFFFF#000000##FFFFFF
##604DBB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#41667C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604dbb;
/* rgb */ color: rgb(96, 77, 187);
/* oklch */ color: oklch(50.0% 0.166 286.7);
Tailwind
colors: {
  custom: {
    50: '#947fd0',
    500: '#604dbb',
    950: '#000000',
  },
}
SCSS
$custom: #604dbb;
$custom-light: #947fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#604dbb",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 250.364,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.16605,
    "h": 286.7
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#604DBB
secondary
#C2CA9A
accent
#D453BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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