#68197B#68197B

#68197B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.163 H 318.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#68197B
RGBrgb(104, 25, 123)
HSLhsl(288, 66%, 29%)
HSVhsv(288, 80%, 48%)
CMYKcmyk(15.4%, 79.7%, 0%, 51.8%)
CIE-LABlab(26.93, 48.06, -38.15)
CIE-LCHlch(26.93, 61.36, 321.56°)
OKLaboklab(39.15% 0.1226 -0.1072)
OKLCHoklch(39.15% 0.163 318.8)
XYZxyz(9.6312, 5.0688, 19.2061)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68197B #2C7B19
analogous
#37197B #68197B #7B195D
triadic
#68197B #7B6819 #197B68
tetradic
#68197B #7B3719 #2C7B19 #195D7B
square
#68197B #7B3719 #2C7B19 #195D7B
split-complementary
#68197B #5D7B19 #197B37
monochromatic
#160519 #3D0F48 #68197B #9323AE #B838D7

Accessibility & contrast

On white

10.43
#68197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#68197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68197B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68197B#FFFFFF#000000##FFFFFF
##68197B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#682E4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68197b;
/* rgb */ color: rgb(104, 25, 123);
/* oklch */ color: oklch(39.1% 0.163 318.8);
Tailwind
colors: {
  custom: {
    50: '#9760a2',
    500: '#68197b',
    950: '#000000',
  },
}
SCSS
$custom: #68197b;
$custom-light: #9760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68197b",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 288.367,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.16287,
    "h": 318.8
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#68197B
secondary
#56AF40
accent
#E93F60
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68197B

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

Preview Lab → · Contrast checker → · Palette generator →

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