#602D7C#602D7C

#602D7C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 311.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#602D7C
RGBrgb(96, 45, 124)
HSLhsl(279, 47%, 33%)
HSVhsv(279, 64%, 49%)
CMYKcmyk(22.6%, 63.7%, 0%, 51.4%)
CIE-LABlab(28.95, 37.47, -35.60)
CIE-LCHlch(28.95, 51.68, 316.46°)
OKLaboklab(40.36% 0.089 -0.1001)
OKLCHoklch(40.36% 0.134 311.6)
XYZxyz(9.3997, 5.8190, 19.6929)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D7C #497C2D
analogous
#382D7C #602D7C #7C2D70
triadic
#602D7C #7C602D #2D7C60
tetradic
#602D7C #7C382D #497C2D #2D707C
square
#602D7C #7C382D #497C2D #2D707C
split-complementary
#602D7C #707C2D #2D7C38
monochromatic
#1A0C22 #3D1D4F #602D7C #833DA9 #A15FC5

Accessibility & contrast

On white

9.71
#602D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602D7C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D7C#FFFFFF#000000##FFFFFF
##602D7C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#5D3C50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602d7c;
/* rgb */ color: rgb(96, 45, 124);
/* oklch */ color: oklch(40.4% 0.134 311.6);
Tailwind
colors: {
  custom: {
    50: '#9069a2',
    500: '#602d7c',
    950: '#000000',
  },
}
SCSS
$custom: #602d7c;
$custom-light: #9069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#602d7c",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 278.734,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.13399,
    "h": 311.6
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#602D7C
secondary
#77AB5A
accent
#D65181
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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