#68277C#68277C

#68277C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 317.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#68277C
RGBrgb(104, 39, 124)
HSLhsl(286, 52%, 32%)
HSVhsv(286, 69%, 49%)
CMYKcmyk(16.1%, 68.5%, 0%, 51.4%)
CIE-LABlab(29.03, 42.51, -35.41)
CIE-LCHlch(29.03, 55.33, 320.21°)
OKLaboklab(40.67% 0.1075 -0.0993)
OKLCHoklch(40.67% 0.146 317.3)
XYZxyz(10.0720, 5.8497, 19.6634)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68277C #3B7C27
analogous
#3E277C #68277C #7C2766
triadic
#68277C #7C6827 #277C68
tetradic
#68277C #7C3E27 #3B7C27 #27667C
square
#68277C #7C3E27 #3B7C27 #27667C
split-complementary
#68277C #667C27 #277C3E
monochromatic
#1A0A1F #41184D #68277C #8F36AB #AE54C9

Accessibility & contrast

On white

9.68
#68277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68277C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68277C#FFFFFF#000000##FFFFFF
##68277C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407F
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#67374E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68277c;
/* rgb */ color: rgb(104, 39, 124);
/* oklch */ color: oklch(40.7% 0.146 317.3);
Tailwind
colors: {
  custom: {
    50: '#9666a2',
    500: '#68277c',
    950: '#000000',
  },
}
SCSS
$custom: #68277c;
$custom-light: #9666a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68277c",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 285.882,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40665,
    "c": 0.14635,
    "h": 317.3
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#68277C
secondary
#67AE51
accent
#DC4C6E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68277C

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

Preview Lab → · Contrast checker → · Palette generator →

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