#68197D#68197D

#68197D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.165 H 318.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#68197D
RGBrgb(104, 25, 125)
HSLhsl(287, 67%, 29%)
HSVhsv(287, 80%, 49%)
CMYKcmyk(16.8%, 80%, 0%, 51%)
CIE-LABlab(27.07, 48.46, -39.18)
CIE-LCHlch(27.07, 62.32, 321.04°)
OKLaboklab(39.29% 0.1223 -0.1102)
OKLCHoklch(39.29% 0.165 318)
XYZxyz(9.7577, 5.1194, 19.8722)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68197D #2E7D19
analogous
#36197D #68197D #7D1960
triadic
#68197D #7D6819 #197D68
tetradic
#68197D #7D3619 #2E7D19 #19607D
square
#68197D #7D3619 #2E7D19 #19607D
split-complementary
#68197D #607D19 #197D36
monochromatic
#15051A #3E0F4A #68197D #9223B0 #B639D7

Accessibility & contrast

On white

10.38
#68197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#68197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68197D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68197D#FFFFFF#000000##FFFFFF
##68197D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#672F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68197d;
/* rgb */ color: rgb(104, 25, 125);
/* oklch */ color: oklch(39.3% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#9760a3',
    500: '#68197d',
    950: '#000000',
  },
}
SCSS
$custom: #68197d;
$custom-light: #9760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68197d",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 287.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.16468,
    "h": 318
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#68197D
secondary
#58B140
accent
#EA3E62
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68197D

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

Preview Lab → · Contrast checker → · Palette generator →

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