#68188C#68188C

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

Color values

HEX#68188C
RGBrgb(104, 24, 140)
HSLhsl(281, 71%, 32%)
HSVhsv(281, 83%, 55%)
CMYKcmyk(25.7%, 82.9%, 0%, 45.1%)
CIE-LABlab(28.09, 51.91, -46.94)
CIE-LCHlch(28.09, 69.98, 317.88°)
OKLaboklab(40.36% 0.1203 -0.133)
OKLCHoklch(40.36% 0.179 312.1)
XYZxyz(10.7683, 5.4901, 25.2983)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188C #3C8C18
analogous
#2E188C #68188C #8C1876
triadic
#68188C #8C6818 #188C68
tetradic
#68188C #8C2E18 #3C8C18 #18768C
square
#68188C #8C2E18 #3C8C18 #18768C
split-complementary
#68188C #768C18 #188C2E
monochromatic
#1A0624 #410F58 #68188C #8F21C0 #AD40DE

Accessibility & contrast

On white

10.01
#68188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68188C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188C#FFFFFF#000000##FFFFFF
##68188C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#643653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68188c;
/* rgb */ color: rgb(104, 24, 140);
/* oklch */ color: oklch(40.4% 0.179 312.1);
Tailwind
colors: {
  custom: {
    50: '#9860ae',
    500: '#68188c',
    950: '#000000',
  },
}
SCSS
$custom: #68188c;
$custom-light: #9860ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68188c",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 281.379,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.17932,
    "h": 312.1
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#68188C
secondary
#68BF41
accent
#ED3A72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68188C

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

Preview Lab → · Contrast checker → · Palette generator →

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