#603498#603498

#603498 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.157 H 300.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#603498
RGBrgb(96, 52, 152)
HSLhsl(266, 49%, 40%)
HSVhsv(266, 66%, 60%)
CMYKcmyk(36.8%, 65.8%, 0%, 40.4%)
CIE-LABlab(32.28, 40.75, -47.58)
CIE-LCHlch(32.28, 62.65, 310.58°)
OKLaboklab(43.39% 0.0786 -0.1353)
OKLCHoklch(43.39% 0.157 300.1)
XYZxyz(11.7180, 7.2097, 30.4739)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603498 #6C9834
analogous
#343A98 #603498 #923498
triadic
#603498 #986034 #349860
tetradic
#603498 #98343A #6C9834 #349892
square
#603498 #98343A #6C9834 #349892
split-complementary
#603498 #989234 #3A9834
monochromatic
#26153D #43246A #603498 #7D49C1 #9E76D0

Accessibility & contrast

On white

8.60
#603498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#603498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603498
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603498#FFFFFF#000000##FFFFFF
##6034981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#544A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #603498;
/* rgb */ color: rgb(96, 52, 152);
/* oklch */ color: oklch(43.4% 0.157 300.1);
Tailwind
colors: {
  custom: {
    50: '#926eb7',
    500: '#603498',
    950: '#000000',
  },
}
SCSS
$custom: #603498;
$custom-light: #926eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#603498",
  "rgb": {
    "r": 96,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 266.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.15652,
    "h": 300.1
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#603498
secondary
#98B96F
accent
#D94F9C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #603498

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

Preview Lab → · Contrast checker → · Palette generator →

#603498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva