#603AA1#603AA1

#603AA1 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.159 H 296.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#603AA1
RGBrgb(96, 58, 161)
HSLhsl(262, 47%, 43%)
HSVhsv(262, 64%, 63%)
CMYKcmyk(40.4%, 64%, 0%, 36.9%)
CIE-LABlab(34.16, 39.86, -49.99)
CIE-LCHlch(34.16, 63.94, 308.57°)
OKLaboklab(44.96% 0.0708 -0.1425)
OKLCHoklch(44.96% 0.159 296.4)
XYZxyz(12.7683, 8.0859, 34.5993)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603AA1 #7BA13A
analogous
#3A47A1 #603AA1 #933AA1
triadic
#603AA1 #A1603A #3AA160
tetradic
#603AA1 #A13A47 #7BA13A #3AA193
square
#603AA1 #A13A47 #7BA13A #3AA193
split-complementary
#603AA1 #A1933A #47A13A
monochromatic
#2A1A47 #452A74 #603AA1 #7E56C2 #A083D2

Accessibility & contrast

On white

8.02
#603AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#603AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603AA1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603AA1#FFFFFF#000000##FFFFFF
##603AA11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#505168
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #603aa1;
/* rgb */ color: rgb(96, 58, 161);
/* oklch */ color: oklch(45.0% 0.159 296.4);
Tailwind
colors: {
  custom: {
    50: '#9272bd',
    500: '#603aa1',
    950: '#000000',
  },
}
SCSS
$custom: #603aa1;
$custom-light: #9272bd;
$custom-dark: #000000;
JSON
{
  "hex": "#603aa1",
  "rgb": {
    "r": 96,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 262.136,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44959,
    "c": 0.15907,
    "h": 296.4
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#603AA1
secondary
#A4BC7B
accent
#D751A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #603AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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