#603DAB#603DAB

#603DAB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.167 H 293.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#603DAB
RGBrgb(96, 61, 171)
HSLhsl(259, 47%, 45%)
HSVhsv(259, 64%, 67%)
CMYKcmyk(43.9%, 64.3%, 0%, 32.9%)
CIE-LABlab(35.53, 40.96, -53.78)
CIE-LCHlch(35.53, 67.60, 307.29°)
OKLaboklab(46.18% 0.0665 -0.1536)
OKLCHoklch(46.18% 0.167 293.4)
XYZxyz(13.8413, 8.7642, 39.4826)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603DAB #88AB3D
analogous
#3D51AB #603DAB #973DAB
triadic
#603DAB #AB603D #3DAB60
tetradic
#603DAB #AB3D51 #88AB3D #3DAB97
square
#603DAB #AB3D51 #88AB3D #3DAB97
split-complementary
#603DAB #AB973D #51AB3D
monochromatic
#2D1D51 #472D7E #603DAB #805FC6 #A48CD6

Accessibility & contrast

On white

7.63
#603DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#603DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603DAB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603DAB#FFFFFF#000000##FFFFFF
##603DAB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#4B576E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #603dab;
/* rgb */ color: rgb(96, 61, 171);
/* oklch */ color: oklch(46.2% 0.167 293.4);
Tailwind
colors: {
  custom: {
    50: '#9374c5',
    500: '#603dab',
    950: '#000000',
  },
}
SCSS
$custom: #603dab;
$custom-light: #9374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#603dab",
  "rgb": {
    "r": 96,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 259.091,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.16736,
    "h": 293.4
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#603DAB
secondary
#ADC183
accent
#D751AC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #603DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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