#68197C#68197C

#68197C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 318.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#68197C
RGBrgb(104, 25, 124)
HSLhsl(288, 66%, 29%)
HSVhsv(288, 80%, 49%)
CMYKcmyk(16.1%, 79.8%, 0%, 51.4%)
CIE-LABlab(27.00, 48.26, -38.67)
CIE-LCHlch(27.00, 61.84, 321.30°)
OKLaboklab(39.22% 0.1225 -0.1087)
OKLCHoklch(39.22% 0.164 318.4)
XYZxyz(9.6941, 5.0940, 19.5375)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68197C #2D7C19
analogous
#37197C #68197C #7C195F
triadic
#68197C #7C6819 #197C68
tetradic
#68197C #7C3719 #2D7C19 #195F7C
square
#68197C #7C3719 #2D7C19 #195F7C
split-complementary
#68197C #5F7C19 #197C37
monochromatic
#150519 #3D0F49 #68197C #9323AF #B738D7

Accessibility & contrast

On white

10.40
#68197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68197C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68197C#FFFFFF#000000##FFFFFF
##68197C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#672F4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68197c;
/* rgb */ color: rgb(104, 25, 124);
/* oklch */ color: oklch(39.2% 0.164 318.4);
Tailwind
colors: {
  custom: {
    50: '#9760a2',
    500: '#68197c',
    950: '#000000',
  },
}
SCSS
$custom: #68197c;
$custom-light: #9760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68197c",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 287.879,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.16379,
    "h": 318.4
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#68197C
secondary
#57B040
accent
#E93E61
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68197C

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

Preview Lab → · Contrast checker → · Palette generator →

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