#68187E#68187E

#68187E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.167 H 317.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#68187E
RGBrgb(104, 24, 126)
HSLhsl(287, 68%, 29%)
HSVhsv(287, 81%, 49%)
CMYKcmyk(17.5%, 81%, 0%, 50.6%)
CIE-LABlab(27.03, 49.01, -39.89)
CIE-LCHlch(27.03, 63.19, 320.86°)
OKLaboklab(39.28% 0.1231 -0.1123)
OKLCHoklch(39.28% 0.167 317.6)
XYZxyz(9.8009, 5.1031, 20.2034)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68187E #2E7E18
analogous
#35187E #68187E #7E1861
triadic
#68187E #7E6818 #187E68
tetradic
#68187E #7E3518 #2E7E18 #18617E
square
#68187E #7E3518 #2E7E18 #18617E
split-complementary
#68187E #617E18 #187E35
monochromatic
#15051A #3E0E4B #68187E #9222B1 #B637D9

Accessibility & contrast

On white

10.39
#68187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#68187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68187E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68187E#FFFFFF#000000##FFFFFF
##68187E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#672F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68187e;
/* rgb */ color: rgb(104, 24, 126);
/* oklch */ color: oklch(39.3% 0.167 317.6);
Tailwind
colors: {
  custom: {
    50: '#9760a4',
    500: '#68187e',
    950: '#000000',
  },
}
SCSS
$custom: #68187e;
$custom-light: #9760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68187e",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 287.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.16661,
    "h": 317.6
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#68187E
secondary
#58B23F
accent
#EB3D62
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68187E

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

Preview Lab → · Contrast checker → · Palette generator →

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