#602F78#602F78

#602F78 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 313.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#602F78
RGBrgb(96, 47, 120)
HSLhsl(280, 44%, 33%)
HSVhsv(280, 61%, 47%)
CMYKcmyk(20%, 60.8%, 0%, 52.9%)
CIE-LABlab(29.10, 35.44, -32.85)
CIE-LCHlch(29.10, 48.32, 317.17°)
OKLaboklab(40.39% 0.0862 -0.0921)
OKLCHoklch(40.39% 0.126 313.1)
XYZxyz(9.2300, 5.8761, 18.4137)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F78 #47782F
analogous
#3B2F78 #602F78 #782F6B
triadic
#602F78 #78602F #2F7860
tetradic
#602F78 #783B2F #47782F #2F6B78
square
#602F78 #783B2F #47782F #2F6B78
split-complementary
#602F78 #6B782F #2F783B
monochromatic
#1A0D20 #3D1E4C #602F78 #8340A4 #A160C1

Accessibility & contrast

On white

9.65
#602F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602F78
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F78#FFFFFF#000000##FFFFFF
##602F781.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#2B4676
Tritanopia (blue-blind)
#5E3C4F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602f78;
/* rgb */ color: rgb(96, 47, 120);
/* oklch */ color: oklch(40.4% 0.126 313.1);
Tailwind
colors: {
  custom: {
    50: '#8f6a9f',
    500: '#602f78',
    950: '#000000',
  },
}
SCSS
$custom: #602f78;
$custom-light: #8f6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#602f78",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 280.274,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.12618,
    "h": 313.1
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#602F78
secondary
#74A85B
accent
#D3547E
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #602F78

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

Preview Lab → · Contrast checker → · Palette generator →

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