#68337A#68337A

#68337A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.2% C 0.125 H 316.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#68337A
RGBrgb(104, 51, 122)
HSLhsl(285, 41%, 34%)
HSVhsv(285, 58%, 48%)
CMYKcmyk(14.8%, 58.2%, 0%, 52.2%)
CIE-LABlab(31.15, 35.95, -30.77)
CIE-LCHlch(31.15, 47.32, 319.43°)
OKLaboklab(42.17% 0.0915 -0.0858)
OKLCHoklch(42.17% 0.125 316.8)
XYZxyz(10.4051, 6.7162, 19.1568)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68337A #457A33
analogous
#45337A #68337A #7A3369
triadic
#68337A #7A6833 #337A68
tetradic
#68337A #7A4533 #457A33 #33697A
square
#68337A #7A4533 #457A33 #33697A
split-complementary
#68337A #697A33 #337A45
monochromatic
#1E0F24 #43214F #68337A #8D45A5 #A968C0

Accessibility & contrast

On white

8.96
#68337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#68337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68337A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68337A#FFFFFF#000000##FFFFFF
##68337A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#673E51
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68337a;
/* rgb */ color: rgb(104, 51, 122);
/* oklch */ color: oklch(42.2% 0.125 316.8);
Tailwind
colors: {
  custom: {
    50: '#956da1',
    500: '#68337a',
    950: '#000000',
  },
}
SCSS
$custom: #68337a;
$custom-light: #956da1;
$custom-dark: #000000;
JSON
{
  "hex": "#68337a",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 284.789,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.12543,
    "h": 316.8
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#68337A
secondary
#73A861
accent
#D15776
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0D070F
muted
#7E7A7E

Preview Lab

Preview with #68337A

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

Preview Lab → · Contrast checker → · Palette generator →

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