#68118E#68118E

#68118E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.187 H 311.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#68118E
RGBrgb(104, 17, 142)
HSLhsl(282, 79%, 31%)
HSVhsv(282, 88%, 56%)
CMYKcmyk(26.8%, 88%, 0%, 44.3%)
CIE-LABlab(27.57, 54.33, -49.03)
CIE-LCHlch(27.57, 73.18, 317.93°)
OKLaboklab(40.05% 0.1245 -0.1391)
OKLCHoklch(40.05% 0.187 311.8)
XYZxyz(10.7909, 5.2973, 26.0400)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68118E #378E11
analogous
#29118E #68118E #8E1175
triadic
#68118E #8E6811 #118E68
tetradic
#68118E #8E2911 #378E11 #11758E
square
#68118E #8E2911 #378E11 #11758E
split-complementary
#68118E #758E11 #118E29
monochromatic
#180421 #400A57 #68118E #9018C5 #B033E7

Accessibility & contrast

On white

10.20
#68118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#68118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68118E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68118E#FFFFFF#000000##FFFFFF
##68118E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#633453
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68118e;
/* rgb */ color: rgb(104, 17, 142);
/* oklch */ color: oklch(40.0% 0.187 311.8);
Tailwind
colors: {
  custom: {
    50: '#985eb0',
    500: '#68118e',
    950: '#000000',
  },
}
SCSS
$custom: #68118e;
$custom-light: #985eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68118e",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 281.76,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.1867,
    "h": 311.8
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#68118E
secondary
#62C238
accent
#F5336E
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68118E

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

Preview Lab → · Contrast checker → · Palette generator →

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