#68197E#68197E

#68197E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.166 H 317.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#68197E
RGBrgb(104, 25, 126)
HSLhsl(287, 67%, 30%)
HSVhsv(287, 80%, 49%)
CMYKcmyk(17.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(27.14, 48.67, -39.70)
CIE-LCHlch(27.14, 62.81, 320.79°)
OKLaboklab(39.37% 0.1222 -0.1118)
OKLCHoklch(39.37% 0.166 317.6)
XYZxyz(9.8219, 5.1451, 20.2104)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68197E #2F7E19
analogous
#36197E #68197E #7E1961
triadic
#68197E #7E6819 #197E68
tetradic
#68197E #7E3619 #2F7E19 #19617E
square
#68197E #7E3619 #2F7E19 #19617E
split-complementary
#68197E #617E19 #197E36
monochromatic
#15051A #3E0F4B #68197E #9223B1 #B53AD8

Accessibility & contrast

On white

10.35
#68197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68197E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68197E#FFFFFF#000000##FFFFFF
##68197E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1C427C
Tritanopia (blue-blind)
#67304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68197e;
/* rgb */ color: rgb(104, 25, 126);
/* oklch */ color: oklch(39.4% 0.166 317.6);
Tailwind
colors: {
  custom: {
    50: '#9760a4',
    500: '#68197e',
    950: '#000000',
  },
}
SCSS
$custom: #68197e;
$custom-light: #9760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68197e",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 286.931,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.16559,
    "h": 317.6
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#68197E
secondary
#59B241
accent
#EA3E63
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68197E

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

Preview Lab → · Contrast checker → · Palette generator →

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