#68198D#68198D

#68198D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.179 H 311.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#68198D
RGBrgb(104, 25, 141)
HSLhsl(281, 70%, 33%)
HSVhsv(281, 82%, 55%)
CMYKcmyk(26.2%, 82.3%, 0%, 44.7%)
CIE-LABlab(28.28, 51.79, -47.25)
CIE-LCHlch(28.28, 70.11, 317.63°)
OKLaboklab(40.52% 0.1192 -0.1339)
OKLCHoklch(40.52% 0.179 311.7)
XYZxyz(10.8634, 5.5617, 25.6954)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68198D #3E8D19
analogous
#2E198D #68198D #8D1978
triadic
#68198D #8D6819 #198D68
tetradic
#68198D #8D2E19 #3E8D19 #19788D
square
#68198D #8D2E19 #3E8D19 #19788D
split-complementary
#68198D #788D19 #198D2E
monochromatic
#1B0725 #421059 #68198D #8E22C1 #AC43DE

Accessibility & contrast

On white

9.94
#68198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#68198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68198D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68198D#FFFFFF#000000##FFFFFF
##68198D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#633654
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68198d;
/* rgb */ color: rgb(104, 25, 141);
/* oklch */ color: oklch(40.5% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#9861af',
    500: '#68198d',
    950: '#000000',
  },
}
SCSS
$custom: #68198d;
$custom-light: #9861af;
$custom-dark: #000000;
JSON
{
  "hex": "#68198d",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 280.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40519,
    "c": 0.17932,
    "h": 311.7
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#68198D
secondary
#6BBF43
accent
#ED3B74
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68198D

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

Preview Lab → · Contrast checker → · Palette generator →

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