#68337D#68337D

#68337D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.4% C 0.129 H 315.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#68337D
RGBrgb(104, 51, 125)
HSLhsl(283, 42%, 35%)
HSVhsv(283, 59%, 49%)
CMYKcmyk(16.8%, 59.2%, 0%, 51%)
CIE-LABlab(31.33, 36.63, -32.37)
CIE-LCHlch(31.33, 48.88, 318.53°)
OKLaboklab(42.35% 0.0917 -0.0905)
OKLCHoklch(42.35% 0.129 315.4)
XYZxyz(10.5938, 6.7917, 20.1509)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68337D #487D33
analogous
#43337D #68337D #7D336D
triadic
#68337D #7D6833 #337D68
tetradic
#68337D #7D4333 #487D33 #336D7D
square
#68337D #7D4333 #487D33 #336D7D
split-complementary
#68337D #6D7D33 #337D43
monochromatic
#201026 #442152 #68337D #8C45A8 #A869C2

Accessibility & contrast

On white

8.91
#68337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#68337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68337D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68337D#FFFFFF#000000##FFFFFF
##68337D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F477F
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#673F53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68337d;
/* rgb */ color: rgb(104, 51, 125);
/* oklch */ color: oklch(42.4% 0.129 315.4);
Tailwind
colors: {
  custom: {
    50: '#956da3',
    500: '#68337d',
    950: '#000000',
  },
}
SCSS
$custom: #68337d;
$custom-light: #956da3;
$custom-dark: #000000;
JSON
{
  "hex": "#68337d",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 282.973,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.1288,
    "h": 315.4
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#68337D
secondary
#76AA62
accent
#D25679
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #68337D

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

Preview Lab → · Contrast checker → · Palette generator →

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