#603AAB#603AAB

#603AAB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.171 H 294.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#603AAB
RGBrgb(96, 58, 171)
HSLhsl(260, 49%, 45%)
HSVhsv(260, 66%, 67%)
CMYKcmyk(43.9%, 66.1%, 0%, 32.9%)
CIE-LABlab(34.91, 42.63, -54.78)
CIE-LCHlch(34.91, 69.42, 307.89°)
OKLaboklab(45.74% 0.0698 -0.1565)
OKLCHoklch(45.74% 0.171 294)
XYZxyz(13.6856, 8.4528, 39.4307)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603AAB #85AB3A
analogous
#3A4DAB #603AAB #993AAB
triadic
#603AAB #AB603A #3AAB60
tetradic
#603AAB #AB3A4D #85AB3A #3AAB99
square
#603AAB #AB3A4D #85AB3A #3AAB99
split-complementary
#603AAB #AB993A #4DAB3A
monochromatic
#2D1B50 #462A7D #603AAB #7F5BC7 #A389D7

Accessibility & contrast

On white

7.80
#603AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#603AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603AAB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603AAB#FFFFFF#000000##FFFFFF
##603AAB1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#4B556D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #603aab;
/* rgb */ color: rgb(96, 58, 171);
/* oklch */ color: oklch(45.7% 0.171 294.0);
Tailwind
colors: {
  custom: {
    50: '#9372c5',
    500: '#603aab',
    950: '#000000',
  },
}
SCSS
$custom: #603aab;
$custom-light: #9372c5;
$custom-dark: #000000;
JSON
{
  "hex": "#603aab",
  "rgb": {
    "r": 96,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 260.177,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.17138,
    "h": 294
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#603AAB
secondary
#ABC180
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #603AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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