#603AA2#603AA2

#603AA2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.160 H 296.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#603AA2
RGBrgb(96, 58, 162)
HSLhsl(262, 47%, 43%)
HSVhsv(262, 64%, 64%)
CMYKcmyk(40.7%, 64.2%, 0%, 36.5%)
CIE-LABlab(34.23, 40.14, -50.48)
CIE-LCHlch(34.23, 64.49, 308.49°)
OKLaboklab(45.04% 0.0707 -0.1439)
OKLCHoklch(45.04% 0.16 296.2)
XYZxyz(12.8568, 8.1213, 35.0656)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#603AA2 #7CA23A
analogous
#3A48A2 #603AA2 #943AA2
triadic
#603AA2 #A2603A #3AA260
tetradic
#603AA2 #A23A48 #7CA23A #3AA294
square
#603AA2 #A23A48 #7CA23A #3AA294
split-complementary
#603AA2 #A2943A #48A23A
monochromatic
#2B1A48 #452A75 #603AA2 #7E57C3 #A184D3

Accessibility & contrast

On white

8.00
#603AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#603AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #603AA2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##603AA2#FFFFFF#000000##FFFFFF
##603AA21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#4F5268
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #603aa2;
/* rgb */ color: rgb(96, 58, 162);
/* oklch */ color: oklch(45.0% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#9272be',
    500: '#603aa2',
    950: '#000000',
  },
}
SCSS
$custom: #603aa2;
$custom-light: #9272be;
$custom-dark: #000000;
JSON
{
  "hex": "#603aa2",
  "rgb": {
    "r": 96,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 261.923,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.1603,
    "h": 296.2
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#603AA2
secondary
#A5BD7B
accent
#D751A6
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #603AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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