#602D8B#602D8B

#602D8B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.151 H 305.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#602D8B
RGBrgb(96, 45, 139)
HSLhsl(273, 51%, 36%)
HSVhsv(273, 68%, 55%)
CMYKcmyk(30.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(29.98, 41.12, -43.31)
CIE-LCHlch(29.98, 59.73, 313.51°)
OKLaboklab(41.43% 0.0882 -0.1228)
OKLCHoklch(41.43% 0.151 305.7)
XYZxyz(10.4214, 6.2277, 25.0741)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D8B #588B2D
analogous
#312D8B #602D8B #8B2D87
triadic
#602D8B #8B602D #2D8B60
tetradic
#602D8B #8B312D #588B2D #2D878B
square
#602D8B #8B312D #588B2D #2D878B
split-complementary
#602D8B #878B2D #2D8B31
monochromatic
#200F2F #401E5D #602D8B #803CB9 #9E65CD

Accessibility & contrast

On white

9.35
#602D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#602D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D8B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D8B#FFFFFF#000000##FFFFFF
##602D8B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#584158
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602d8b;
/* rgb */ color: rgb(96, 45, 139);
/* oklch */ color: oklch(41.4% 0.151 305.7);
Tailwind
colors: {
  custom: {
    50: '#916aad',
    500: '#602d8b',
    950: '#000000',
  },
}
SCSS
$custom: #602d8b;
$custom-light: #916aad;
$custom-dark: #000000;
JSON
{
  "hex": "#602d8b",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 272.553,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.15116,
    "h": 305.7
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#602D8B
secondary
#86B460
accent
#DB4D8E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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