#602256#602256

#602256 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.5% C 0.113 H 334.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#602256
RGBrgb(96, 34, 86)
HSLhsl(310, 48%, 25%)
HSVhsv(310, 65%, 38%)
CMYKcmyk(0%, 64.6%, 10.4%, 62.4%)
CIE-LABlab(24.65, 35.12, -17.87)
CIE-LCHlch(24.65, 39.40, 333.04°)
OKLaboklab(36.51% 0.1017 -0.0487)
OKLCHoklch(36.51% 0.113 334.4)
XYZxyz(7.0757, 4.3033, 9.2602)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602256 #22602C
analogous
#4B2260 #602256 #602237
triadic
#602256 #566022 #225660
tetradic
#602256 #604B22 #22602C #223760
square
#602256 #604B22 #22602C #223760
split-complementary
#602256 #376022 #22604B
monochromatic
#170814 #33122E #602256 #8D327E #BA42A7

Accessibility & contrast

On white

11.29
#602256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#602256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602256
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602256#FFFFFF#000000##FFFFFF
##6022561.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#353E54
Tritanopia (blue-blind)
#652638
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #602256;
/* rgb */ color: rgb(96, 34, 86);
/* oklch */ color: oklch(36.5% 0.113 334.4);
Tailwind
colors: {
  custom: {
    50: '#8f6186',
    500: '#602256',
    950: '#000000',
  },
}
SCSS
$custom: #602256;
$custom-light: #8f6186;
$custom-dark: #000000;
JSON
{
  "hex": "#602256",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 309.677,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.11279,
    "h": 334.4
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#602256
secondary
#4A9456
accent
#D76651
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #602256

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

Preview Lab → · Contrast checker → · Palette generator →

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