#68197F#68197F

#68197F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.167 H 317.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#68197F
RGBrgb(104, 25, 127)
HSLhsl(286, 67%, 30%)
HSVhsv(286, 80%, 50%)
CMYKcmyk(18.1%, 80.3%, 0%, 50.2%)
CIE-LABlab(27.22, 48.87, -40.21)
CIE-LCHlch(27.22, 63.29, 320.55°)
OKLaboklab(39.44% 0.122 -0.1133)
OKLCHoklch(39.44% 0.167 317.1)
XYZxyz(9.8867, 5.1711, 20.5519)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68197F #307F19
analogous
#35197F #68197F #7F1963
triadic
#68197F #7F6819 #197F68
tetradic
#68197F #7F3519 #307F19 #19637F
square
#68197F #7F3519 #307F19 #19637F
split-complementary
#68197F #637F19 #197F35
monochromatic
#15051A #3E0F4C #68197F #9223B2 #B53AD8

Accessibility & contrast

On white

10.32
#68197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#68197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68197F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68197F#FFFFFF#000000##FFFFFF
##68197F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#67304C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68197f;
/* rgb */ color: rgb(104, 25, 127);
/* oklch */ color: oklch(39.4% 0.167 317.1);
Tailwind
colors: {
  custom: {
    50: '#9760a5',
    500: '#68197f',
    950: '#000000',
  },
}
SCSS
$custom: #68197f;
$custom-light: #9760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#68197f",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 286.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.1665,
    "h": 317.1
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#68197F
secondary
#5AB341
accent
#EA3E65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68197F

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

Preview Lab → · Contrast checker → · Palette generator →

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