#603A98#603A98

#603A98 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.148 H 298.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#603A98
RGBrgb(96, 58, 152)
HSLhsl(264, 45%, 41%)
HSVhsv(264, 62%, 60%)
CMYKcmyk(36.8%, 61.8%, 0%, 40.4%)
CIE-LABlab(33.52, 37.41, -45.58)
CIE-LCHlch(33.52, 58.96, 309.37°)
OKLaboklab(44.29% 0.0713 -0.1295)
OKLCHoklch(44.29% 0.148 298.8)
XYZxyz(12.0030, 7.7798, 30.5689)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603A98 #72983A
analogous
#3A4398 #603A98 #8F3A98
triadic
#603A98 #98603A #3A9860
tetradic
#603A98 #983A43 #72983A #3A988F
square
#603A98 #983A43 #72983A #3A988F
split-complementary
#603A98 #988F3A #43983A
monochromatic
#28183F #44296C #603A98 #7D52BD #9F7ECE

Accessibility & contrast

On white

8.22
#603A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#603A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603A98
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603A98#FFFFFF#000000##FFFFFF
##603A981.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#534E63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #603a98;
/* rgb */ color: rgb(96, 58, 152);
/* oklch */ color: oklch(44.3% 0.148 298.8);
Tailwind
colors: {
  custom: {
    50: '#9172b7',
    500: '#603a98',
    950: '#000000',
  },
}
SCSS
$custom: #603a98;
$custom-light: #9172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#603a98",
  "rgb": {
    "r": 96,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 264.255,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.14782,
    "h": 298.8
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#603A98
secondary
#9DB876
accent
#D453A0
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603A98

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

Preview Lab → · Contrast checker → · Palette generator →

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