#68337C#68337C

#68337C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.3% C 0.128 H 315.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#68337C
RGBrgb(104, 51, 124)
HSLhsl(284, 42%, 34%)
HSVhsv(284, 59%, 49%)
CMYKcmyk(16.1%, 58.9%, 0%, 51.4%)
CIE-LABlab(31.27, 36.40, -31.84)
CIE-LCHlch(31.27, 48.36, 318.82°)
OKLaboklab(42.29% 0.0916 -0.0889)
OKLCHoklch(42.29% 0.128 315.8)
XYZxyz(10.5303, 6.7663, 19.8162)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68337C #477C33
analogous
#44337C #68337C #7C336C
triadic
#68337C #7C6833 #337C68
tetradic
#68337C #7C4433 #477C33 #336C7C
square
#68337C #7C4433 #477C33 #336C7C
split-complementary
#68337C #6C7C33 #337C44
monochromatic
#1F0F25 #442151 #68337C #8C45A7 #A968C1

Accessibility & contrast

On white

8.92
#68337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#68337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68337C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68337C#FFFFFF#000000##FFFFFF
##68337C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#673F52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68337c;
/* rgb */ color: rgb(104, 51, 124);
/* oklch */ color: oklch(42.3% 0.128 315.8);
Tailwind
colors: {
  custom: {
    50: '#956da2',
    500: '#68337c',
    950: '#000000',
  },
}
SCSS
$custom: #68337c;
$custom-light: #956da2;
$custom-dark: #000000;
JSON
{
  "hex": "#68337c",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 283.562,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.12767,
    "h": 315.8
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#68337C
secondary
#75A962
accent
#D25678
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #68337C

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

Preview Lab → · Contrast checker → · Palette generator →

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