#603EB5#603EB5

#603EB5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.178 H 291.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#603EB5
RGBrgb(96, 62, 181)
HSLhsl(257, 49%, 48%)
HSVhsv(257, 66%, 71%)
CMYKcmyk(47%, 65.7%, 0%, 29%)
CIE-LABlab(36.49, 43.24, -58.15)
CIE-LCHlch(36.49, 72.46, 306.63°)
OKLaboklab(47.12% 0.0643 -0.1664)
OKLCHoklch(47.12% 0.178 291.1)
XYZxyz(14.8846, 9.2677, 44.7117)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603EB5 #93B53E
analogous
#3E57B5 #603EB5 #9B3EB5
triadic
#603EB5 #B5603E #3EB560
tetradic
#603EB5 #B53E57 #93B53E #3EB59B
square
#603EB5 #B53E57 #93B53E #3EB59B
split-complementary
#603EB5 #B59B3E #57B53E
monochromatic
#301F5A #482E87 #603EB5 #8366CA #A893DA

Accessibility & contrast

On white

7.36
#603EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#603EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603EB5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603EB5#FFFFFF#000000##FFFFFF
##603EB51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#465B74
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #603eb5;
/* rgb */ color: rgb(96, 62, 181);
/* oklch */ color: oklch(47.1% 0.178 291.1);
Tailwind
colors: {
  custom: {
    50: '#9475cc',
    500: '#603eb5',
    950: '#000000',
  },
}
SCSS
$custom: #603eb5;
$custom-light: #9475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#603eb5",
  "rgb": {
    "r": 96,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 257.143,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.17843,
    "h": 291.1
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#603EB5
secondary
#B4C589
accent
#D94FB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #603EB5

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

Preview Lab → · Contrast checker → · Palette generator →

#603EB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva