#602DCC#602DCC

#602DCC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.224 H 289.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#602DCC
RGBrgb(96, 45, 204)
HSLhsl(259, 64%, 49%)
HSVhsv(259, 78%, 80%)
CMYKcmyk(52.9%, 77.9%, 0%, 20%)
CIE-LABlab(35.44, 58.07, -73.36)
CIE-LCHlch(35.44, 93.56, 308.37°)
OKLaboklab(46.98% 0.074 -0.211)
OKLCHoklch(46.98% 0.224 289.3)
XYZxyz(16.6582, 8.7224, 57.9209)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DCC #99CC2D
analogous
#2D4ACC #602DCC #B02DCC
triadic
#602DCC #CC602D #2DCC60
tetradic
#602DCC #CC2D4A #99CC2D #2DCCB0
square
#602DCC #CC2D4A #99CC2D #2DCCB0
split-complementary
#602DCC #CCB02D #4ACC2D
monochromatic
#311768 #48229A #602DCC #845BDB #AA8DE6

Accessibility & contrast

On white

7.65
#602DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#602DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602DCC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DCC#FFFFFF#000000##FFFFFF
##602DCC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#365B7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #602dcc;
/* rgb */ color: rgb(96, 45, 204);
/* oklch */ color: oklch(47.0% 0.224 289.3);
Tailwind
colors: {
  custom: {
    50: '#986cdd',
    500: '#602dcc',
    950: '#000000',
  },
}
SCSS
$custom: #602dcc;
$custom-light: #986cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#602dcc",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 259.245,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.22357,
    "h": 289.3
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#602DCC
secondary
#B8D085
accent
#E741B2
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #602DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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