#602D7E#602D7E

#602D7E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.136 H 310.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#602D7E
RGBrgb(96, 45, 126)
HSLhsl(278, 47%, 34%)
HSVhsv(278, 64%, 49%)
CMYKcmyk(23.8%, 64.3%, 0%, 50.6%)
CIE-LABlab(29.08, 37.94, -36.65)
CIE-LCHlch(29.08, 52.75, 315.99°)
OKLaboklab(40.5% 0.089 -0.1032)
OKLCHoklch(40.5% 0.136 310.8)
XYZxyz(9.5274, 5.8701, 20.3658)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D7E #4B7E2D
analogous
#372D7E #602D7E #7E2D73
triadic
#602D7E #7E602D #2D7E60
tetradic
#602D7E #7E372D #4B7E2D #2D737E
square
#602D7E #7E372D #4B7E2D #2D737E
split-complementary
#602D7E #737E2D #2D7E37
monochromatic
#1B0D24 #3E1D51 #602D7E #823DAB #A05FC6

Accessibility & contrast

On white

9.66
#602D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D7E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D7E#FFFFFF#000000##FFFFFF
##602D7E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094281
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#5C3D51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602d7e;
/* rgb */ color: rgb(96, 45, 126);
/* oklch */ color: oklch(40.5% 0.136 310.8);
Tailwind
colors: {
  custom: {
    50: '#9069a4',
    500: '#602d7e',
    950: '#000000',
  },
}
SCSS
$custom: #602d7e;
$custom-light: #9069a4;
$custom-dark: #000000;
JSON
{
  "hex": "#602d7e",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 277.778,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.13628,
    "h": 310.8
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#602D7E
secondary
#79AC5A
accent
#D75183
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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