#68228A#68228A

#68228A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 312.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#68228A
RGBrgb(104, 34, 138)
HSLhsl(280, 60%, 34%)
HSVhsv(280, 75%, 54%)
CMYKcmyk(24.6%, 75.4%, 0%, 45.9%)
CIE-LABlab(29.22, 47.78, -43.87)
CIE-LCHlch(29.22, 64.87, 317.44°)
OKLaboklab(41.11% 0.1117 -0.1241)
OKLCHoklch(41.11% 0.167 312)
XYZxyz(10.8675, 5.9224, 24.6105)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68228A #448A22
analogous
#34228A #68228A #8A2278
triadic
#68228A #8A6822 #228A68
tetradic
#68228A #8A3422 #448A22 #22788A
square
#68228A #8A3422 #448A22 #22788A
split-complementary
#68228A #788A22 #228A34
monochromatic
#1E0A28 #431659 #68228A #8D2EBB #AA52D4

Accessibility & contrast

On white

9.61
#68228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#68228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68228A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68228A#FFFFFF#000000##FFFFFF
##68228A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#643954
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68228a;
/* rgb */ color: rgb(104, 34, 138);
/* oklch */ color: oklch(41.1% 0.167 312.0);
Tailwind
colors: {
  custom: {
    50: '#9765ad',
    500: '#68228a',
    950: '#000000',
  },
}
SCSS
$custom: #68228a;
$custom-light: #9765ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68228a",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 280.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.16695,
    "h": 312
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#68228A
secondary
#72B850
accent
#E44478
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68228A

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

Preview Lab → · Contrast checker → · Palette generator →

#68228A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva