#603FAF#603FAF

#603FAF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.170 H 292.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#603FAF
RGBrgb(96, 63, 175)
HSLhsl(258, 47%, 47%)
HSVhsv(258, 64%, 69%)
CMYKcmyk(45.1%, 64%, 0%, 31.4%)
CIE-LABlab(36.25, 40.96, -55.00)
CIE-LCHlch(36.25, 68.58, 306.68°)
OKLaboklab(46.8% 0.0639 -0.1572)
OKLCHoklch(46.8% 0.17 292.1)
XYZxyz(14.3371, 9.1365, 41.5572)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603FAF #8EAF3F
analogous
#3F56AF #603FAF #983FAF
triadic
#603FAF #AF603F #3FAF60
tetradic
#603FAF #AF3F56 #8EAF3F #3FAF98
square
#603FAF #AF3F56 #8EAF3F #3FAF98
split-complementary
#603FAF #AF983F #56AF3F
monochromatic
#2F1F55 #472F82 #603FAF #8164C7 #A691D7

Accessibility & contrast

On white

7.43
#603FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#603FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603FAF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603FAF#FFFFFF#000000##FFFFFF
##603FAF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#495971
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #603faf;
/* rgb */ color: rgb(96, 63, 175);
/* oklch */ color: oklch(46.8% 0.170 292.1);
Tailwind
colors: {
  custom: {
    50: '#9376c8',
    500: '#603faf',
    950: '#000000',
  },
}
SCSS
$custom: #603faf;
$custom-light: #9376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#603faf",
  "rgb": {
    "r": 96,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 257.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.16965,
    "h": 292.1
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#603FAF
secondary
#B1C387
accent
#D751AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #603FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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