#68277E#68277E

#68277E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 316.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#68277E
RGBrgb(104, 39, 126)
HSLhsl(285, 53%, 32%)
HSVhsv(285, 69%, 49%)
CMYKcmyk(17.5%, 69%, 0%, 50.6%)
CIE-LABlab(29.16, 42.95, -36.46)
CIE-LCHlch(29.16, 56.34, 319.67°)
OKLaboklab(40.8% 0.1074 -0.1024)
OKLCHoklch(40.8% 0.148 316.4)
XYZxyz(10.1998, 5.9008, 20.3363)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68277E #3D7E27
analogous
#3D277E #68277E #7E2768
triadic
#68277E #7E6827 #277E68
tetradic
#68277E #7E3D27 #3D7E27 #27687E
square
#68277E #7E3D27 #3D7E27 #27687E
split-complementary
#68277E #687E27 #277E3D
monochromatic
#1B0A21 #41194F #68277E #8F35AD #AD55CA

Accessibility & contrast

On white

9.63
#68277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#68277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68277E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68277E#FFFFFF#000000##FFFFFF
##68277E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#27477C
Tritanopia (blue-blind)
#67374F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68277e;
/* rgb */ color: rgb(104, 39, 126);
/* oklch */ color: oklch(40.8% 0.148 316.4);
Tailwind
colors: {
  custom: {
    50: '#9667a4',
    500: '#68277e',
    950: '#000000',
  },
}
SCSS
$custom: #68277e;
$custom-light: #9667a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68277e",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 284.828,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.14839,
    "h": 316.4
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#68277E
secondary
#69AF52
accent
#DC4C70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68277E

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

Preview Lab → · Contrast checker → · Palette generator →

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