#68277A#68277A

#68277A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.144 H 318.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#68277A
RGBrgb(104, 39, 122)
HSLhsl(287, 52%, 32%)
HSVhsv(287, 68%, 48%)
CMYKcmyk(14.8%, 68%, 0%, 52.2%)
CIE-LABlab(28.90, 42.08, -34.35)
CIE-LCHlch(28.90, 54.32, 320.77°)
OKLaboklab(40.53% 0.1076 -0.0962)
OKLCHoklch(40.53% 0.144 318.2)
XYZxyz(9.9468, 5.7997, 19.0041)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68277A #397A27
analogous
#3F277A #68277A #7A2763
triadic
#68277A #7A6827 #277A68
tetradic
#68277A #7A3F27 #397A27 #27637A
square
#68277A #7A3F27 #397A27 #27637A
split-complementary
#68277A #637A27 #277A3F
monochromatic
#19091D #40184C #68277A #9036A8 #AF53C8

Accessibility & contrast

On white

9.72
#68277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#68277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68277A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68277A#FFFFFF#000000##FFFFFF
##68277A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#68364D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68277a;
/* rgb */ color: rgb(104, 39, 122);
/* oklch */ color: oklch(40.5% 0.144 318.2);
Tailwind
colors: {
  custom: {
    50: '#9666a1',
    500: '#68277a',
    950: '#000000',
  },
}
SCSS
$custom: #68277a;
$custom-light: #9666a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68277a",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 286.988,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.14432,
    "h": 318.2
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#68277A
secondary
#65AC51
accent
#DB4D6C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68277A

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

Preview Lab → · Contrast checker → · Palette generator →

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