#68188A#68188A

#68188A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.177 H 312.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#68188A
RGBrgb(104, 24, 138)
HSLhsl(282, 70%, 32%)
HSVhsv(282, 83%, 54%)
CMYKcmyk(24.6%, 82.6%, 0%, 45.9%)
CIE-LABlab(27.93, 51.48, -45.95)
CIE-LCHlch(27.93, 69.01, 318.25°)
OKLaboklab(40.2% 0.1207 -0.1301)
OKLCHoklch(40.2% 0.177 312.9)
XYZxyz(10.6222, 5.4316, 24.5287)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188A #3A8A18
analogous
#2F188A #68188A #8A1873
triadic
#68188A #8A6818 #188A68
tetradic
#68188A #8A2F18 #3A8A18 #18738A
square
#68188A #8A2F18 #3A8A18 #18738A
split-complementary
#68188A #738A18 #188A2F
monochromatic
#190622 #410F56 #68188A #8F21BE #AE3FDE

Accessibility & contrast

On white

10.07
#68188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#68188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68188A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188A#FFFFFF#000000##FFFFFF
##68188A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#643552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68188a;
/* rgb */ color: rgb(104, 24, 138);
/* oklch */ color: oklch(40.2% 0.177 312.9);
Tailwind
colors: {
  custom: {
    50: '#9760ad',
    500: '#68188a',
    950: '#000000',
  },
}
SCSS
$custom: #68188a;
$custom-light: #9760ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68188a",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 282.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.17749,
    "h": 312.9
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#68188A
secondary
#66BD40
accent
#ED3B70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68188A

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

Preview Lab → · Contrast checker → · Palette generator →

#68188A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva