#68198C#68198C

#68198C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.178 H 312.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#68198C
RGBrgb(104, 25, 140)
HSLhsl(281, 70%, 32%)
HSVhsv(281, 82%, 55%)
CMYKcmyk(25.7%, 82.1%, 0%, 45.1%)
CIE-LABlab(28.20, 51.58, -46.76)
CIE-LCHlch(28.20, 69.62, 317.81°)
OKLaboklab(40.44% 0.1195 -0.1325)
OKLCHoklch(40.44% 0.178 312)
XYZxyz(10.7893, 5.5321, 25.3053)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68198C #3D8C19
analogous
#2E198C #68198C #8C1977
triadic
#68198C #8C6819 #198C68
tetradic
#68198C #8C2E19 #3D8C19 #19778C
square
#68198C #8C2E19 #3D8C19 #19778C
split-complementary
#68198C #778C19 #198C2E
monochromatic
#1B0624 #411058 #68198C #8F22C0 #AD42DD

Accessibility & contrast

On white

9.97
#68198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68198C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68198C#FFFFFF#000000##FFFFFF
##68198C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#643653
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68198c;
/* rgb */ color: rgb(104, 25, 140);
/* oklch */ color: oklch(40.4% 0.178 312.0);
Tailwind
colors: {
  custom: {
    50: '#9861ae',
    500: '#68198c',
    950: '#000000',
  },
}
SCSS
$custom: #68198c;
$custom-light: #9861ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68198c",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 281.217,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.17839,
    "h": 312
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#68198C
secondary
#69BE43
accent
#ED3B73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68198C

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

Preview Lab → · Contrast checker → · Palette generator →

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