#68287D#68287D

#68287D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.146 H 316.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#68287D
RGBrgb(104, 40, 125)
HSLhsl(285, 52%, 32%)
HSVhsv(285, 68%, 49%)
CMYKcmyk(16.8%, 68%, 0%, 51%)
CIE-LABlab(29.26, 42.26, -35.66)
CIE-LCHlch(29.26, 55.29, 319.84°)
OKLaboklab(40.86% 0.1063 -0.1)
OKLCHoklch(40.86% 0.146 316.7)
XYZxyz(10.1688, 5.9417, 20.0093)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68287D #3D7D28
analogous
#3D287D #68287D #7D2868
triadic
#68287D #7D6828 #287D68
tetradic
#68287D #7D3D28 #3D7D28 #28687D
square
#68287D #7D3D28 #3D7D28 #28687D
split-complementary
#68287D #687D28 #287D3D
monochromatic
#1B0A20 #41194F #68287D #8F37AB #AD56C9

Accessibility & contrast

On white

9.60
#68287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#68287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68287D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68287D#FFFFFF#000000##FFFFFF
##68287D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054180
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#67384F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68287d;
/* rgb */ color: rgb(104, 40, 125);
/* oklch */ color: oklch(40.9% 0.146 316.7);
Tailwind
colors: {
  custom: {
    50: '#9667a3',
    500: '#68287d',
    950: '#000000',
  },
}
SCSS
$custom: #68287d;
$custom-light: #9667a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68287d",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 285.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.14594,
    "h": 316.7
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#68287D
secondary
#69AE53
accent
#DB4D70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68287D

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

Preview Lab → · Contrast checker → · Palette generator →

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