#68188D#68188D

#68188D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.180 H 311.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#68188D
RGBrgb(104, 24, 141)
HSLhsl(281, 71%, 32%)
HSVhsv(281, 83%, 55%)
CMYKcmyk(26.2%, 83%, 0%, 44.7%)
CIE-LABlab(28.17, 52.12, -47.43)
CIE-LCHlch(28.17, 70.47, 317.70°)
OKLaboklab(40.44% 0.12 -0.1345)
OKLCHoklch(40.44% 0.18 311.8)
XYZxyz(10.8424, 5.5197, 25.6884)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188D #3D8D18
analogous
#2E188D #68188D #8D1877
triadic
#68188D #8D6818 #188D68
tetradic
#68188D #8D2E18 #3D8D18 #18778D
square
#68188D #8D2E18 #3D8D18 #18778D
split-complementary
#68188D #778D18 #188D2E
monochromatic
#1B0624 #410F59 #68188D #8F21C1 #AD41DF

Accessibility & contrast

On white

9.98
#68188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#68188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68188D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188D#FFFFFF#000000##FFFFFF
##68188D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#633654
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68188d;
/* rgb */ color: rgb(104, 24, 141);
/* oklch */ color: oklch(40.4% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#9860af',
    500: '#68188d',
    950: '#000000',
  },
}
SCSS
$custom: #68188d;
$custom-light: #9860af;
$custom-dark: #000000;
JSON
{
  "hex": "#68188d",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 281.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.18023,
    "h": 311.8
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#68188D
secondary
#69BF42
accent
#EE3A73
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68188D

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

Preview Lab → · Contrast checker → · Palette generator →

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