#68188E#68188E

#68188E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.181 H 311.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#68188E
RGBrgb(104, 24, 142)
HSLhsl(281, 71%, 33%)
HSVhsv(281, 83%, 56%)
CMYKcmyk(26.8%, 83.1%, 0%, 44.3%)
CIE-LABlab(28.25, 52.33, -47.92)
CIE-LCHlch(28.25, 70.96, 317.52°)
OKLaboklab(40.52% 0.1198 -0.1359)
OKLCHoklch(40.52% 0.181 311.4)
XYZxyz(10.9171, 5.5496, 26.0820)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188E #3E8E18
analogous
#2D188E #68188E #8E1879
triadic
#68188E #8E6818 #188E68
tetradic
#68188E #8E2D18 #3E8E18 #18798E
square
#68188E #8E2D18 #3E8E18 #18798E
split-complementary
#68188E #798E18 #188E2D
monochromatic
#1B0625 #420F5A #68188E #8E21C2 #AC41DF

Accessibility & contrast

On white

9.95
#68188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#68188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68188E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188E#FFFFFF#000000##FFFFFF
##68188E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#633754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68188e;
/* rgb */ color: rgb(104, 24, 142);
/* oklch */ color: oklch(40.5% 0.181 311.4);
Tailwind
colors: {
  custom: {
    50: '#9860b0',
    500: '#68188e',
    950: '#000000',
  },
}
SCSS
$custom: #68188e;
$custom-light: #9860b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68188e",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 280.678,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.18115,
    "h": 311.4
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#68188E
secondary
#6BC042
accent
#EE3A74
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #68188E

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

Preview Lab → · Contrast checker → · Palette generator →

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