#603E97#603E97

#603E97 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.140 H 298.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#603E97
RGBrgb(96, 62, 151)
HSLhsl(263, 42%, 42%)
HSVhsv(263, 59%, 59%)
CMYKcmyk(36.4%, 58.9%, 0%, 40.8%)
CIE-LABlab(34.33, 34.82, -43.67)
CIE-LCHlch(34.33, 55.85, 308.56°)
OKLaboklab(44.86% 0.0663 -0.1239)
OKLCHoklch(44.86% 0.14 298.1)
XYZxyz(12.1310, 8.1663, 30.2093)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603E97 #75973E
analogous
#3E4997 #603E97 #8D3E97
triadic
#603E97 #97603E #3E9760
tetradic
#603E97 #973E49 #75973E #3E978D
square
#603E97 #973E49 #75973E #3E978D
split-complementary
#603E97 #978D3E #49973E
monochromatic
#291A40 #442C6C #603E97 #7D58BA #9F83CC

Accessibility & contrast

On white

7.98
#603E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#603E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603E97
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603E97#FFFFFF#000000##FFFFFF
##603E971.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#545164
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #603e97;
/* rgb */ color: rgb(96, 62, 151);
/* oklch */ color: oklch(44.9% 0.140 298.1);
Tailwind
colors: {
  custom: {
    50: '#9175b6',
    500: '#603e97',
    950: '#000000',
  },
}
SCSS
$custom: #603e97;
$custom-light: #9175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#603e97",
  "rgb": {
    "r": 96,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 262.921,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.14049,
    "h": 298.1
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#603E97
secondary
#9FB67A
accent
#D256A2
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603E97

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

Preview Lab → · Contrast checker → · Palette generator →

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