#68187D#68187D

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

Color values

HEX#68187D
RGBrgb(104, 24, 125)
HSLhsl(288, 68%, 29%)
HSVhsv(288, 81%, 49%)
CMYKcmyk(16.8%, 80.8%, 0%, 51%)
CIE-LABlab(26.95, 48.81, -39.37)
CIE-LCHlch(26.95, 62.71, 321.10°)
OKLaboklab(39.21% 0.1232 -0.1108)
OKLCHoklch(39.21% 0.166 318)
XYZxyz(9.7367, 5.0774, 19.8652)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68187D #2D7D18
analogous
#36187D #68187D #7D1860
triadic
#68187D #7D6818 #187D68
tetradic
#68187D #7D3618 #2D7D18 #18607D
square
#68187D #7D3618 #2D7D18 #18607D
split-complementary
#68187D #607D18 #187D36
monochromatic
#15051A #3D0E4A #68187D #9322B0 #B737D9

Accessibility & contrast

On white

10.42
#68187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68187D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68187D#FFFFFF#000000##FFFFFF
##68187D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68187d;
/* rgb */ color: rgb(104, 24, 125);
/* oklch */ color: oklch(39.2% 0.166 318.0);
Tailwind
colors: {
  custom: {
    50: '#9760a3',
    500: '#68187d',
    950: '#000000',
  },
}
SCSS
$custom: #68187d;
$custom-light: #9760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68187d",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 287.525,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.1657,
    "h": 318
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#68187D
secondary
#57B23F
accent
#EB3D61
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68187D

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

Preview Lab → · Contrast checker → · Palette generator →

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