#68138E#68138E

#68138E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.185 H 311.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#68138E
RGBrgb(104, 19, 142)
HSLhsl(281, 76%, 32%)
HSVhsv(281, 87%, 56%)
CMYKcmyk(26.8%, 86.6%, 0%, 44.3%)
CIE-LABlab(27.74, 53.81, -48.74)
CIE-LCHlch(27.74, 72.60, 317.83°)
OKLaboklab(40.17% 0.1233 -0.1383)
OKLCHoklch(40.17% 0.185 311.7)
XYZxyz(10.8234, 5.3621, 26.0508)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68138E #398E13
analogous
#2A138E #68138E #8E1377
triadic
#68138E #8E6813 #138E68
tetradic
#68138E #8E2A13 #398E13 #13778E
square
#68138E #8E2A13 #398E13 #13778E
split-complementary
#68138E #778E13 #138E2A
monochromatic
#190522 #400C58 #68138E #901AC4 #AF37E4

Accessibility & contrast

On white

10.13
#68138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#68138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68138E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68138E#FFFFFF#000000##FFFFFF
##68138E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68138e;
/* rgb */ color: rgb(104, 19, 142);
/* oklch */ color: oklch(40.2% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#985fb0',
    500: '#68138e',
    950: '#000000',
  },
}
SCSS
$custom: #68138e;
$custom-light: #985fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68138e",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 281.463,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.18525,
    "h": 311.7
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#68138E
secondary
#65C23B
accent
#F33570
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68138E

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

Preview Lab → · Contrast checker → · Palette generator →

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