#68188B#68188B

#68188B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 312.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#68188B
RGBrgb(104, 24, 139)
HSLhsl(282, 71%, 32%)
HSVhsv(282, 83%, 55%)
CMYKcmyk(25.2%, 82.7%, 0%, 45.5%)
CIE-LABlab(28.01, 51.69, -46.45)
CIE-LCHlch(28.01, 69.50, 318.06°)
OKLaboklab(40.28% 0.1205 -0.1316)
OKLCHoklch(40.28% 0.178 312.5)
XYZxyz(10.6949, 5.4607, 24.9117)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188B #3B8B18
analogous
#2F188B #68188B #8B1875
triadic
#68188B #8B6818 #188B68
tetradic
#68188B #8B2F18 #3B8B18 #18758B
square
#68188B #8B2F18 #3B8B18 #18758B
split-complementary
#68188B #758B18 #188B2F
monochromatic
#1A0623 #410F57 #68188B #8F21BF #AE3FDE

Accessibility & contrast

On white

10.04
#68188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68188B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188B#FFFFFF#000000##FFFFFF
##68188B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68188b;
/* rgb */ color: rgb(104, 24, 139);
/* oklch */ color: oklch(40.3% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#9860ae',
    500: '#68188b',
    950: '#000000',
  },
}
SCSS
$custom: #68188b;
$custom-light: #9860ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68188b",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 281.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.1784,
    "h": 312.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#68188B
secondary
#67BE40
accent
#ED3A71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68188B

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

Preview Lab → · Contrast checker → · Palette generator →

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