#602C7D#602C7D

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

Color values

HEX#602C7D
RGBrgb(96, 44, 125)
HSLhsl(279, 48%, 33%)
HSVhsv(279, 65%, 49%)
CMYKcmyk(23.2%, 64.8%, 0%, 51%)
CIE-LABlab(28.82, 38.23, -36.44)
CIE-LCHlch(28.82, 52.82, 316.38°)
OKLaboklab(40.29% 0.0903 -0.1026)
OKLCHoklch(40.29% 0.137 311.4)
XYZxyz(9.4255, 5.7690, 20.0151)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602C7D #497D2C
analogous
#382C7D #602C7D #7D2C71
triadic
#602C7D #7D602C #2C7D60
tetradic
#602C7D #7D382C #497D2C #2C717D
square
#602C7D #7D382C #497D2C #2C717D
split-complementary
#602C7D #717D2C #2C7D38
monochromatic
#1A0C22 #3D1C50 #602C7D #833CAA #A15DC6

Accessibility & contrast

On white

9.75
#602C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#602C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602C7D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602C7D#FFFFFF#000000##FFFFFF
##602C7D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084180
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#5D3C50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602c7d;
/* rgb */ color: rgb(96, 44, 125);
/* oklch */ color: oklch(40.3% 0.137 311.4);
Tailwind
colors: {
  custom: {
    50: '#9068a3',
    500: '#602c7d',
    950: '#000000',
  },
}
SCSS
$custom: #602c7d;
$custom-light: #9068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#602c7d",
  "rgb": {
    "r": 96,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 278.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.13668,
    "h": 311.4
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#602C7D
secondary
#77AC59
accent
#D85081
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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