#68328D#68328D

#68328D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.149 H 308.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#68328D
RGBrgb(104, 50, 141)
HSLhsl(276, 48%, 37%)
HSVhsv(276, 65%, 55%)
CMYKcmyk(26.2%, 64.5%, 0%, 44.7%)
CIE-LABlab(32.14, 40.91, -41.02)
CIE-LCHlch(32.14, 57.93, 314.93°)
OKLaboklab(43.27% 0.093 -0.1158)
OKLCHoklch(43.27% 0.149 308.8)
XYZxyz(11.6563, 7.1475, 25.9597)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68328D #578D32
analogous
#3A328D #68328D #8D3285
triadic
#68328D #8D6832 #328D68
tetradic
#68328D #8D3A32 #578D32 #32858D
square
#68328D #8D3A32 #578D32 #32858D
split-complementary
#68328D #858D32 #328D3A
monochromatic
#251233 #472260 #68328D #8942BA #A56ECC

Accessibility & contrast

On white

8.64
#68328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#68328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68328D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68328D#FFFFFF#000000##FFFFFF
##68328D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#63445B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #68328d;
/* rgb */ color: rgb(104, 50, 141);
/* oklch */ color: oklch(43.3% 0.149 308.8);
Tailwind
colors: {
  custom: {
    50: '#966daf',
    500: '#68328d',
    950: '#000000',
  },
}
SCSS
$custom: #68328d;
$custom-light: #966daf;
$custom-dark: #000000;
JSON
{
  "hex": "#68328d",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 275.604,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.14854,
    "h": 308.8
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#68328D
secondary
#86B368
accent
#D75187
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #68328D

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

Preview Lab → · Contrast checker → · Palette generator →

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