#68277D#68277D

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

Color values

HEX#68277D
RGBrgb(104, 39, 125)
HSLhsl(285, 52%, 32%)
HSVhsv(285, 69%, 49%)
CMYKcmyk(16.8%, 68.8%, 0%, 51%)
CIE-LABlab(29.10, 42.73, -35.94)
CIE-LCHlch(29.10, 55.83, 319.94°)
OKLaboklab(40.73% 0.1075 -0.1008)
OKLCHoklch(40.73% 0.147 316.8)
XYZxyz(10.1356, 5.8752, 19.9982)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68277D #3C7D27
analogous
#3D277D #68277D #7D2767
triadic
#68277D #7D6827 #277D68
tetradic
#68277D #7D3D27 #3C7D27 #27677D
square
#68277D #7D3D27 #3C7D27 #27677D
split-complementary
#68277D #677D27 #277D3D
monochromatic
#1A0A20 #41184E #68277D #8F36AC #AD55CA

Accessibility & contrast

On white

9.66
#68277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#68277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68277D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68277D#FFFFFF#000000##FFFFFF
##68277D1.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)
#014180
Deuteranopia (green-blind)
#28477B
Tritanopia (blue-blind)
#67374E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68277d;
/* rgb */ color: rgb(104, 39, 125);
/* oklch */ color: oklch(40.7% 0.147 316.8);
Tailwind
colors: {
  custom: {
    50: '#9666a3',
    500: '#68277d',
    950: '#000000',
  },
}
SCSS
$custom: #68277d;
$custom-light: #9666a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68277d",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 285.349,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.14737,
    "h": 316.8
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#68277D
secondary
#68AF51
accent
#DC4C6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68277D

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

Preview Lab → · Contrast checker → · Palette generator →

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