#604EBA#604EBA

#604EBA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.163 H 286.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#604EBA
RGBrgb(96, 78, 186)
HSLhsl(250, 44%, 52%)
HSVhsv(250, 58%, 73%)
CMYKcmyk(48.4%, 58.1%, 0%, 27.1%)
CIE-LABlab(40.38, 35.40, -54.80)
CIE-LCHlch(40.38, 65.24, 302.86°)
OKLaboklab(50.07% 0.0466 -0.1566)
OKLCHoklch(50.07% 0.163 286.6)
XYZxyz(16.4086, 11.4800, 47.7961)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EBA #A8BA4E
analogous
#4E72BA #604EBA #964EBA
triadic
#604EBA #BA604E #4EBA60
tetradic
#604EBA #BA4E72 #A8BA4E #4EBA96
square
#604EBA #BA4E72 #A8BA4E #4EBA96
split-complementary
#604EBA #BA964E #72BA4E
monochromatic
#322866 #483992 #604EBA #887ACB #AFA6DC

Accessibility & contrast

On white

6.37
#604EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#604EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EBA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EBA#FFFFFF#000000##FFFFFF
##604EBA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604eba;
/* rgb */ color: rgb(96, 78, 186);
/* oklch */ color: oklch(50.1% 0.163 286.6);
Tailwind
colors: {
  custom: {
    50: '#9480cf',
    500: '#604eba',
    950: '#000000',
  },
}
SCSS
$custom: #604eba;
$custom-light: #9480cf;
$custom-dark: #000000;
JSON
{
  "hex": "#604eba",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 250,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.16334,
    "h": 286.6
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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