#68337B#68337B

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

Color values

HEX#68337B
RGBrgb(104, 51, 123)
HSLhsl(284, 41%, 34%)
HSVhsv(284, 59%, 48%)
CMYKcmyk(15.4%, 58.5%, 0%, 51.8%)
CIE-LABlab(31.21, 36.17, -31.31)
CIE-LCHlch(31.21, 47.84, 319.12°)
OKLaboklab(42.23% 0.0915 -0.0874)
OKLCHoklch(42.23% 0.127 316.3)
XYZxyz(10.4674, 6.7411, 19.4848)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68337B #467B33
analogous
#44337B #68337B #7B336A
triadic
#68337B #7B6833 #337B68
tetradic
#68337B #7B4433 #467B33 #336A7B
square
#68337B #7B4433 #467B33 #336A7B
split-complementary
#68337B #6A7B33 #337B44
monochromatic
#1F0F24 #432150 #68337B #8D45A6 #A968C0

Accessibility & contrast

On white

8.94
#68337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68337B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68337B#FFFFFF#000000##FFFFFF
##68337B1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#673F52
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68337b;
/* rgb */ color: rgb(104, 51, 123);
/* oklch */ color: oklch(42.2% 0.127 316.3);
Tailwind
colors: {
  custom: {
    50: '#956da1',
    500: '#68337b',
    950: '#000000',
  },
}
SCSS
$custom: #68337b;
$custom-light: #956da1;
$custom-dark: #000000;
JSON
{
  "hex": "#68337b",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 284.167,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42228,
    "c": 0.12655,
    "h": 316.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#68337B
secondary
#74A862
accent
#D15777
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #68337B

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

Preview Lab → · Contrast checker → · Palette generator →

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