#602D7B#602D7B

#602D7B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.133 H 312.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#602D7B
RGBrgb(96, 45, 123)
HSLhsl(279, 46%, 33%)
HSVhsv(279, 63%, 48%)
CMYKcmyk(22%, 63.4%, 0%, 51.8%)
CIE-LABlab(28.89, 37.23, -35.08)
CIE-LCHlch(28.89, 51.15, 316.71°)
OKLaboklab(40.29% 0.089 -0.0986)
OKLCHoklch(40.29% 0.133 312.1)
XYZxyz(9.3368, 5.7939, 19.3615)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D7B #487B2D
analogous
#392D7B #602D7B #7B2D6F
triadic
#602D7B #7B602D #2D7B60
tetradic
#602D7B #7B392D #487B2D #2D6F7B
square
#602D7B #7B392D #487B2D #2D6F7B
split-complementary
#602D7B #6F7B2D #2D7B39
monochromatic
#1A0C21 #3D1D4E #602D7B #833DA8 #A15EC4

Accessibility & contrast

On white

9.73
#602D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D7B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D7B#FFFFFF#000000##FFFFFF
##602D7B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427D
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#5D3C4F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602d7b;
/* rgb */ color: rgb(96, 45, 123);
/* oklch */ color: oklch(40.3% 0.133 312.1);
Tailwind
colors: {
  custom: {
    50: '#9069a2',
    500: '#602d7b',
    950: '#000000',
  },
}
SCSS
$custom: #602d7b;
$custom-light: #9069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#602d7b",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 279.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40294,
    "c": 0.13285,
    "h": 312.1
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#602D7B
secondary
#75AB59
accent
#D65280
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602D7B

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

Preview Lab → · Contrast checker → · Palette generator →

#602D7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva