#602FD4#602FD4

#602FD4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.230 H 287.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#602FD4
RGBrgb(96, 47, 212)
HSLhsl(258, 66%, 51%)
HSVhsv(258, 78%, 83%)
CMYKcmyk(54.7%, 77.8%, 0%, 16.9%)
CIE-LABlab(36.50, 59.33, -76.25)
CIE-LCHlch(36.50, 96.61, 307.89°)
OKLaboklab(47.95% 0.0703 -0.2194)
OKLCHoklch(47.95% 0.23 287.8)
XYZxyz(17.7205, 9.2724, 63.1306)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602FD4 #A3D42F
analogous
#2F50D4 #602FD4 #B22FD4
triadic
#602FD4 #D4602F #2FD460
tetradic
#602FD4 #D42F50 #A3D42F #2FD4B2
square
#602FD4 #D42F50 #A3D42F #2FD4B2
split-complementary
#602FD4 #D4B22F #50D42F
monochromatic
#321771 #4822A4 #602FD4 #8762DE #AE94E9

Accessibility & contrast

On white

7.36
#602FD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#602FD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602FD4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602FD4#FFFFFF#000000##FFFFFF
##602FD41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#2E5F81
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #602fd4;
/* rgb */ color: rgb(96, 47, 212);
/* oklch */ color: oklch(47.9% 0.230 287.8);
Tailwind
colors: {
  custom: {
    50: '#996ee3',
    500: '#602fd4',
    950: '#000000',
  },
}
SCSS
$custom: #602fd4;
$custom-light: #996ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#602fd4",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 212
  },
  "hsl": {
    "h": 257.818,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.23043,
    "h": 287.8
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#602FD4
secondary
#BED48B
accent
#E93FB6
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #602FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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