#602B7D#602B7D

#602B7D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.138 H 311.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#602B7D
RGBrgb(96, 43, 125)
HSLhsl(279, 49%, 33%)
HSVhsv(279, 66%, 49%)
CMYKcmyk(23.2%, 65.6%, 0%, 51%)
CIE-LABlab(28.63, 38.76, -36.75)
CIE-LCHlch(28.63, 53.41, 316.53°)
OKLaboklab(40.15% 0.0916 -0.1035)
OKLCHoklch(40.15% 0.138 311.5)
XYZxyz(9.3887, 5.6954, 20.0028)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B7D #487D2B
analogous
#372B7D #602B7D #7D2B71
triadic
#602B7D #7D602B #2B7D60
tetradic
#602B7D #7D372B #487D2B #2B717D
square
#602B7D #7D372B #487D2B #2B717D
split-complementary
#602B7D #717D2B #2B7D37
monochromatic
#1A0C22 #3D1B4F #602B7D #833BAB #A15CC7

Accessibility & contrast

On white

9.82
#602B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#602B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B7D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B7D#FFFFFF#000000##FFFFFF
##602B7D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#23457B
Tritanopia (blue-blind)
#5D3B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602b7d;
/* rgb */ color: rgb(96, 43, 125);
/* oklch */ color: oklch(40.2% 0.138 311.5);
Tailwind
colors: {
  custom: {
    50: '#9068a3',
    500: '#602b7d',
    950: '#000000',
  },
}
SCSS
$custom: #602b7d;
$custom-light: #9068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#602b7d",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 278.78,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.13822,
    "h": 311.5
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#602B7D
secondary
#75AD57
accent
#D84F80
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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