#604BAC#604BAC

#604BAC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.5% C 0.149 H 289.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#604BAC
RGBrgb(96, 75, 172)
HSLhsl(253, 39%, 48%)
HSVhsv(253, 56%, 67%)
CMYKcmyk(44.2%, 56.4%, 0%, 32.5%)
CIE-LABlab(38.72, 33.04, -49.22)
CIE-LCHlch(38.72, 59.28, 303.87°)
OKLaboklab(48.54% 0.0501 -0.1402)
OKLCHoklch(48.54% 0.149 289.7)
XYZxyz(14.7843, 10.4970, 40.2689)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BAC #97AC4B
analogous
#4B66AC #604BAC #904BAC
triadic
#604BAC #AC604B #4BAC60
tetradic
#604BAC #AC4B66 #97AC4B #4BAC90
square
#604BAC #AC4B66 #97AC4B #4BAC90
split-complementary
#604BAC #AC904B #66AC4B
monochromatic
#302657 #483881 #604BAC #8472C2 #A99DD4

Accessibility & contrast

On white

6.78
#604BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#604BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BAC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BAC#FFFFFF#000000##FFFFFF
##604BAC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#1959AA
Tritanopia (blue-blind)
#4A6074
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #604bac;
/* rgb */ color: rgb(96, 75, 172);
/* oklch */ color: oklch(48.5% 0.149 289.7);
Tailwind
colors: {
  custom: {
    50: '#927ec5',
    500: '#604bac',
    950: '#000000',
  },
}
SCSS
$custom: #604bac;
$custom-light: #927ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#604bac",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 252.99,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.14883,
    "h": 289.7
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#604BAC
secondary
#B7C192
accent
#CF59B6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #604BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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