#68187A#68187A

#68187A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.163 H 319.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#68187A
RGBrgb(104, 24, 122)
HSLhsl(289, 67%, 29%)
HSVhsv(289, 80%, 48%)
CMYKcmyk(14.8%, 80.3%, 0%, 52.2%)
CIE-LABlab(26.74, 48.21, -37.82)
CIE-LCHlch(26.74, 61.27, 321.88°)
OKLaboklab(38.99% 0.1237 -0.1062)
OKLCHoklch(38.99% 0.163 319.3)
XYZxyz(9.5479, 5.0019, 18.8711)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68187A #2A7A18
analogous
#37187A #68187A #7A185B
triadic
#68187A #7A6818 #187A68
tetradic
#68187A #7A3718 #2A7A18 #185B7A
square
#68187A #7A3718 #2A7A18 #185B7A
split-complementary
#68187A #5B7A18 #187A37
monochromatic
#16051A #3C0E47 #68187A #9422AD #B935D7

Accessibility & contrast

On white

10.50
#68187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#68187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68187A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68187A#FFFFFF#000000##FFFFFF
##68187A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#682D49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68187a;
/* rgb */ color: rgb(104, 24, 122);
/* oklch */ color: oklch(39.0% 0.163 319.3);
Tailwind
colors: {
  custom: {
    50: '#975fa1',
    500: '#68187a',
    950: '#000000',
  },
}
SCSS
$custom: #68187a;
$custom-light: #975fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#68187a",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 288.98,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38989,
    "c": 0.16302,
    "h": 319.3
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#68187A
secondary
#54AF3F
accent
#EA3E5D
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68187A

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

Preview Lab → · Contrast checker → · Palette generator →

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