#68328C#68328C

#68328C is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.147 H 309.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#68328C
RGBrgb(104, 50, 140)
HSLhsl(276, 47%, 37%)
HSVhsv(276, 64%, 55%)
CMYKcmyk(25.7%, 64.3%, 0%, 45.1%)
CIE-LABlab(32.07, 40.67, -40.51)
CIE-LCHlch(32.07, 57.40, 315.12°)
OKLaboklab(43.2% 0.0931 -0.1143)
OKLCHoklch(43.2% 0.147 309.2)
XYZxyz(11.5822, 7.1179, 25.5696)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68328C #568C32
analogous
#3B328C #68328C #8C3283
triadic
#68328C #8C6832 #328C68
tetradic
#68328C #8C3B32 #568C32 #32838C
square
#68328C #8C3B32 #568C32 #32838C
split-complementary
#68328C #838C32 #328C3B
monochromatic
#251232 #47225F #68328C #8942B9 #A66DCB

Accessibility & contrast

On white

8.66
#68328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#68328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68328C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68328C#FFFFFF#000000##FFFFFF
##68328C1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#254C8A
Tritanopia (blue-blind)
#63445A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #68328c;
/* rgb */ color: rgb(104, 50, 140);
/* oklch */ color: oklch(43.2% 0.147 309.2);
Tailwind
colors: {
  custom: {
    50: '#966dae',
    500: '#68328c',
    950: '#000000',
  },
}
SCSS
$custom: #68328c;
$custom-light: #966dae;
$custom-dark: #000000;
JSON
{
  "hex": "#68328c",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 276,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.1474,
    "h": 309.2
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#68328C
secondary
#85B367
accent
#D75186
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #68328C

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

Preview Lab → · Contrast checker → · Palette generator →

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