#68198A#68198A

#68198A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.177 H 312.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#68198A
RGBrgb(104, 25, 138)
HSLhsl(282, 69%, 32%)
HSVhsv(282, 82%, 54%)
CMYKcmyk(24.6%, 81.9%, 0%, 45.9%)
CIE-LABlab(28.04, 51.16, -45.77)
CIE-LCHlch(28.04, 68.64, 318.18°)
OKLaboklab(40.28% 0.1199 -0.1296)
OKLCHoklch(40.28% 0.177 312.8)
XYZxyz(10.6432, 5.4736, 24.5357)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68198A #3B8A19
analogous
#30198A #68198A #8A1974
triadic
#68198A #8A6819 #198A68
tetradic
#68198A #8A3019 #3B8A19 #19748A
square
#68198A #8A3019 #3B8A19 #19748A
split-complementary
#68198A #748A19 #198A30
monochromatic
#1A0622 #411056 #68198A #8F22BE #AE41DD

Accessibility & contrast

On white

10.03
#68198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#68198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68198A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68198A#FFFFFF#000000##FFFFFF
##68198A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#044488
Tritanopia (blue-blind)
#643552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68198a;
/* rgb */ color: rgb(104, 25, 138);
/* oklch */ color: oklch(40.3% 0.177 312.8);
Tailwind
colors: {
  custom: {
    50: '#9761ad',
    500: '#68198a',
    950: '#000000',
  },
}
SCSS
$custom: #68198a;
$custom-light: #9761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68198a",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 281.947,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.17655,
    "h": 312.8
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#68198A
secondary
#67BD42
accent
#EC3C71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68198A

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

Preview Lab → · Contrast checker → · Palette generator →

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