#604BAF#604BAF

#604BAF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.8% C 0.153 H 289.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#604BAF
RGBrgb(96, 75, 175)
HSLhsl(253, 40%, 49%)
HSVhsv(253, 57%, 69%)
CMYKcmyk(45.1%, 57.1%, 0%, 31.4%)
CIE-LABlab(38.92, 33.92, -50.67)
CIE-LCHlch(38.92, 60.98, 303.80°)
OKLaboklab(48.76% 0.0501 -0.1444)
OKLCHoklch(48.76% 0.153 289.1)
XYZxyz(15.0756, 10.6135, 41.8034)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BAF #9AAF4B
analogous
#4B68AF #604BAF #924BAF
triadic
#604BAF #AF604B #4BAF60
tetradic
#604BAF #AF4B68 #9AAF4B #4BAF92
square
#604BAF #AF4B68 #9AAF4B #4BAF92
split-complementary
#604BAF #AF924B #68AF4B
monochromatic
#312659 #483984 #604BAF #8574C3 #AA9FD6

Accessibility & contrast

On white

6.72
#604BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#604BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BAF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BAF#FFFFFF#000000##FFFFFF
##604BAF1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#486175
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #604baf;
/* rgb */ color: rgb(96, 75, 175);
/* oklch */ color: oklch(48.8% 0.153 289.1);
Tailwind
colors: {
  custom: {
    50: '#937ec7',
    500: '#604baf',
    950: '#000000',
  },
}
SCSS
$custom: #604baf;
$custom-light: #937ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#604baf",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 252.6,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.15287,
    "h": 289.1
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#604BAF
secondary
#B9C293
accent
#D058B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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