#602B7E#602B7E

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

Color values

HEX#602B7E
RGBrgb(96, 43, 126)
HSLhsl(278, 49%, 33%)
HSVhsv(278, 66%, 49%)
CMYKcmyk(23.8%, 65.9%, 0%, 50.6%)
CIE-LABlab(28.70, 38.99, -37.27)
CIE-LCHlch(28.70, 53.94, 316.30°)
OKLaboklab(40.22% 0.0916 -0.105)
OKLCHoklch(40.22% 0.139 311.1)
XYZxyz(9.4529, 5.7211, 20.3409)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B7E #497E2B
analogous
#362B7E #602B7E #7E2B72
triadic
#602B7E #7E602B #2B7E60
tetradic
#602B7E #7E362B #497E2B #2B727E
square
#602B7E #7E362B #497E2B #2B727E
split-complementary
#602B7E #727E2B #2B7E36
monochromatic
#1A0C23 #3D1B50 #602B7E #833BAC #A15CC7

Accessibility & contrast

On white

9.79
#602B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602B7E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B7E#FFFFFF#000000##FFFFFF
##602B7E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024181
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#5C3B50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602b7e;
/* rgb */ color: rgb(96, 43, 126);
/* oklch */ color: oklch(40.2% 0.139 311.1);
Tailwind
colors: {
  custom: {
    50: '#9068a4',
    500: '#602b7e',
    950: '#000000',
  },
}
SCSS
$custom: #602b7e;
$custom-light: #9068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#602b7e",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 278.313,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.13934,
    "h": 311.1
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#602B7E
secondary
#77AD58
accent
#D94F81
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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