#68287A#68287A

#68287A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.143 H 318.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#68287A
RGBrgb(104, 40, 122)
HSLhsl(287, 51%, 32%)
HSVhsv(287, 67%, 48%)
CMYKcmyk(14.8%, 67.2%, 0%, 52.2%)
CIE-LABlab(29.07, 41.61, -34.08)
CIE-LCHlch(29.07, 53.78, 320.68°)
OKLaboklab(40.65% 0.1063 -0.0954)
OKLCHoklch(40.65% 0.143 318.1)
XYZxyz(9.9801, 5.8662, 19.0152)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68287A #3A7A28
analogous
#3F287A #68287A #7A2863
triadic
#68287A #7A6828 #287A68
tetradic
#68287A #7A3F28 #3A7A28 #28637A
square
#68287A #7A3F28 #3A7A28 #28637A
split-complementary
#68287A #637A28 #287A3F
monochromatic
#190A1E #41194C #68287A #8F37A8 #AE55C7

Accessibility & contrast

On white

9.66
#68287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#68287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68287A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68287A#FFFFFF#000000##FFFFFF
##68287A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#68374D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68287a;
/* rgb */ color: rgb(104, 40, 122);
/* oklch */ color: oklch(40.7% 0.143 318.1);
Tailwind
colors: {
  custom: {
    50: '#9667a1',
    500: '#68287a',
    950: '#000000',
  },
}
SCSS
$custom: #68287a;
$custom-light: #9667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68287a",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 286.829,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.14287,
    "h": 318.1
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#68287A
secondary
#66AC52
accent
#DA4E6D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68287A

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

Preview Lab → · Contrast checker → · Palette generator →

#68287A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva