#68198E#68198E

#68198E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.180 H 311.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#68198E
RGBrgb(104, 25, 142)
HSLhsl(281, 70%, 33%)
HSVhsv(281, 82%, 56%)
CMYKcmyk(26.8%, 82.4%, 0%, 44.3%)
CIE-LABlab(28.36, 52.01, -47.74)
CIE-LCHlch(28.36, 70.60, 317.45°)
OKLaboklab(40.6% 0.119 -0.1354)
OKLCHoklch(40.6% 0.18 311.3)
XYZxyz(10.9381, 5.5916, 26.0890)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68198E #3F8E19
analogous
#2E198E #68198E #8E1979
triadic
#68198E #8E6819 #198E68
tetradic
#68198E #8E2E19 #3F8E19 #19798E
square
#68198E #8E2E19 #3F8E19 #19798E
split-complementary
#68198E #798E19 #198E2E
monochromatic
#1C0726 #42105A #68198E #8E22C2 #AC43DE

Accessibility & contrast

On white

9.91
#68198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#68198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68198E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68198E#FFFFFF#000000##FFFFFF
##68198E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#633754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68198e;
/* rgb */ color: rgb(104, 25, 142);
/* oklch */ color: oklch(40.6% 0.180 311.3);
Tailwind
colors: {
  custom: {
    50: '#9861b0',
    500: '#68198e',
    950: '#000000',
  },
}
SCSS
$custom: #68198e;
$custom-light: #9861b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68198e",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 280.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.18025,
    "h": 311.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#68198E
secondary
#6CBF44
accent
#ED3B75
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #68198E

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

Preview Lab → · Contrast checker → · Palette generator →

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