#68187C#68187C

#68187C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.165 H 318.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#68187C
RGBrgb(104, 24, 124)
HSLhsl(288, 68%, 29%)
HSVhsv(288, 81%, 49%)
CMYKcmyk(16.1%, 80.6%, 0%, 51.4%)
CIE-LABlab(26.88, 48.60, -38.86)
CIE-LCHlch(26.88, 62.23, 321.36°)
OKLaboklab(39.13% 0.1234 -0.1093)
OKLCHoklch(39.13% 0.165 318.5)
XYZxyz(9.6731, 5.0520, 19.5305)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68187C #2C7C18
analogous
#36187C #68187C #7C185E
triadic
#68187C #7C6818 #187C68
tetradic
#68187C #7C3618 #2C7C18 #185E7C
square
#68187C #7C3618 #2C7C18 #185E7C
split-complementary
#68187C #5E7C18 #187C36
monochromatic
#16051A #3D0E49 #68187C #9322AF #B836D8

Accessibility & contrast

On white

10.45
#68187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#68187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68187C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68187C#FFFFFF#000000##FFFFFF
##68187C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68187c;
/* rgb */ color: rgb(104, 24, 124);
/* oklch */ color: oklch(39.1% 0.165 318.5);
Tailwind
colors: {
  custom: {
    50: '#975fa2',
    500: '#68187c',
    950: '#000000',
  },
}
SCSS
$custom: #68187c;
$custom-light: #975fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#68187c",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 288,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.16481,
    "h": 318.5
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#68187C
secondary
#56B13F
accent
#EA3D60
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68187C

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

Preview Lab → · Contrast checker → · Palette generator →

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