#68187B#68187B

#68187B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.164 H 318.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#68187B
RGBrgb(104, 24, 123)
HSLhsl(288, 67%, 29%)
HSVhsv(288, 80%, 48%)
CMYKcmyk(15.4%, 80.5%, 0%, 51.8%)
CIE-LABlab(26.81, 48.40, -38.34)
CIE-LCHlch(26.81, 61.75, 321.62°)
OKLaboklab(39.06% 0.1235 -0.1078)
OKLCHoklch(39.06% 0.164 318.9)
XYZxyz(9.6102, 5.0269, 19.1991)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68187B #2B7B18
analogous
#37187B #68187B #7B185D
triadic
#68187B #7B6818 #187B68
tetradic
#68187B #7B3718 #2B7B18 #185D7B
square
#68187B #7B3718 #2B7B18 #185D7B
split-complementary
#68187B #5D7B18 #187B37
monochromatic
#16051A #3D0E48 #68187B #9322AE #B936D8

Accessibility & contrast

On white

10.47
#68187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68187B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68187B#FFFFFF#000000##FFFFFF
##68187B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#682E49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68187b;
/* rgb */ color: rgb(104, 24, 123);
/* oklch */ color: oklch(39.1% 0.164 318.9);
Tailwind
colors: {
  custom: {
    50: '#975fa2',
    500: '#68187b',
    950: '#000000',
  },
}
SCSS
$custom: #68187b;
$custom-light: #975fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#68187b",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 288.485,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.16392,
    "h": 318.9
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#68187B
secondary
#55B03F
accent
#EA3E5F
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68187B

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

Preview Lab → · Contrast checker → · Palette generator →

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