#603CB2#603CB2

#603CB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.177 H 292.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#603CB2
RGBrgb(96, 60, 178)
HSLhsl(258, 50%, 47%)
HSVhsv(258, 66%, 70%)
CMYKcmyk(46.1%, 66.3%, 0%, 30.2%)
CIE-LABlab(35.85, 43.49, -57.41)
CIE-LCHlch(35.85, 72.03, 307.15°)
OKLaboklab(46.59% 0.0668 -0.1643)
OKLCHoklch(46.59% 0.177 292.1)
XYZxyz(14.4734, 8.9324, 43.0724)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603CB2 #8EB23C
analogous
#3C53B2 #603CB2 #9B3CB2
triadic
#603CB2 #B2603C #3CB260
tetradic
#603CB2 #B23C53 #8EB23C #3CB29B
square
#603CB2 #B23C53 #8EB23C #3CB29B
split-complementary
#603CB2 #B29B3C #53B23C
monochromatic
#2F1D56 #472D84 #603CB2 #8161CA #A68FD9

Accessibility & contrast

On white

7.54
#603CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#603CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603CB2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603CB2#FFFFFF#000000##FFFFFF
##603CB21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#475872
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #603cb2;
/* rgb */ color: rgb(96, 60, 178);
/* oklch */ color: oklch(46.6% 0.177 292.1);
Tailwind
colors: {
  custom: {
    50: '#9474ca',
    500: '#603cb2',
    950: '#000000',
  },
}
SCSS
$custom: #603cb2;
$custom-light: #9474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#603cb2",
  "rgb": {
    "r": 96,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 258.305,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.17733,
    "h": 292.1
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#603CB2
secondary
#B1C486
accent
#D94FAF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #603CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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