#602291#602291

#602291 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.172 H 305.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#602291
RGBrgb(96, 34, 145)
HSLhsl(274, 62%, 35%)
HSVhsv(274, 77%, 57%)
CMYKcmyk(33.8%, 76.6%, 0%, 43.1%)
CIE-LABlab(28.58, 47.81, -49.29)
CIE-LCHlch(28.58, 68.67, 314.12°)
OKLaboklab(40.58% 0.0991 -0.1403)
OKLCHoklch(40.58% 0.172 305.2)
XYZxyz(10.5056, 5.6753, 27.3246)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602291 #539122
analogous
#292291 #602291 #91228A
triadic
#602291 #916022 #229160
tetradic
#602291 #912922 #539122 #228A91
square
#602291 #912922 #539122 #228A91
split-complementary
#602291 #8A9122 #229129
monochromatic
#1E0B2E #3F165F #602291 #812EC3 #9E56D7

Accessibility & contrast

On white

9.84
#602291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#602291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602291
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602291#FFFFFF#000000##FFFFFF
##6022911.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#573E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602291;
/* rgb */ color: rgb(96, 34, 145);
/* oklch */ color: oklch(40.6% 0.172 305.2);
Tailwind
colors: {
  custom: {
    50: '#9264b2',
    500: '#602291',
    950: '#000000',
  },
}
SCSS
$custom: #602291;
$custom-light: #9264b2;
$custom-dark: #000000;
JSON
{
  "hex": "#602291",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 273.514,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.17174,
    "h": 305.2
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#602291
secondary
#81BB53
accent
#E5438A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602291

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

Preview Lab → · Contrast checker → · Palette generator →

#602291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva