#603AAA#603AAA

#603AAA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.170 H 294.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#603AAA
RGBrgb(96, 58, 170)
HSLhsl(260, 49%, 45%)
HSVhsv(260, 66%, 67%)
CMYKcmyk(43.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(34.83, 42.35, -54.31)
CIE-LCHlch(34.83, 68.87, 307.95°)
OKLaboklab(45.66% 0.0699 -0.1551)
OKLCHoklch(45.66% 0.17 294.2)
XYZxyz(13.5907, 8.4148, 38.9306)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603AAA #84AA3A
analogous
#3A4CAA #603AAA #983AAA
triadic
#603AAA #AA603A #3AAA60
tetradic
#603AAA #AA3A4C #84AA3A #3AAA98
square
#603AAA #AA3A4C #84AA3A #3AAA98
split-complementary
#603AAA #AA983A #4CAA3A
monochromatic
#2C1B4F #462A7C #603AAA #7F5AC7 #A388D6

Accessibility & contrast

On white

7.83
#603AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#603AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603AAA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603AAA#FFFFFF#000000##FFFFFF
##603AAA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#4C546D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #603aaa;
/* rgb */ color: rgb(96, 58, 170);
/* oklch */ color: oklch(45.7% 0.170 294.2);
Tailwind
colors: {
  custom: {
    50: '#9372c4',
    500: '#603aaa',
    950: '#000000',
  },
}
SCSS
$custom: #603aaa;
$custom-light: #9372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#603aaa",
  "rgb": {
    "r": 96,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 260.357,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.17015,
    "h": 294.2
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #603AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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