#603798#603798

#603798 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.152 H 299.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#603798
RGBrgb(96, 55, 152)
HSLhsl(265, 47%, 41%)
HSVhsv(265, 64%, 60%)
CMYKcmyk(36.8%, 63.8%, 0%, 40.4%)
CIE-LABlab(32.89, 39.10, -46.60)
CIE-LCHlch(32.89, 60.83, 310.00°)
OKLaboklab(43.83% 0.075 -0.1325)
OKLCHoklch(43.83% 0.152 299.5)
XYZxyz(11.8562, 7.4861, 30.5200)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603798 #6F9837
analogous
#373E98 #603798 #903798
triadic
#603798 #986037 #379860
tetradic
#603798 #98373E #6F9837 #379890
square
#603798 #98373E #6F9837 #379890
split-complementary
#603798 #989037 #3E9837
monochromatic
#27163E #44276B #603798 #7D4DBF #9E7ACF

Accessibility & contrast

On white

8.41
#603798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#603798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603798
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603798#FFFFFF#000000##FFFFFF
##6037981.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#0E4D96
Tritanopia (blue-blind)
#544C62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #603798;
/* rgb */ color: rgb(96, 55, 152);
/* oklch */ color: oklch(43.8% 0.152 299.5);
Tailwind
colors: {
  custom: {
    50: '#9170b7',
    500: '#603798',
    950: '#000000',
  },
}
SCSS
$custom: #603798;
$custom-light: #9170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#603798",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 265.361,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.15223,
    "h": 299.5
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#603798
secondary
#9BB873
accent
#D6519E
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #603798

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

Preview Lab → · Contrast checker → · Palette generator →

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