#68158E#68158E

#68158E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.3% C 0.184 H 311.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#68158E
RGBrgb(104, 21, 142)
HSLhsl(281, 74%, 32%)
HSVhsv(281, 85%, 56%)
CMYKcmyk(26.8%, 85.2%, 0%, 44.3%)
CIE-LABlab(27.93, 53.24, -48.43)
CIE-LCHlch(27.93, 71.98, 317.71°)
OKLaboklab(40.3% 0.122 -0.1374)
OKLCHoklch(40.3% 0.184 311.6)
XYZxyz(10.8586, 5.4327, 26.0625)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68158E #3B8E15
analogous
#2C158E #68158E #8E1578
triadic
#68158E #8E6815 #158E68
tetradic
#68158E #8E2C15 #3B8E15 #15788E
square
#68158E #8E2C15 #3B8E15 #15788E
split-complementary
#68158E #788E15 #158E2C
monochromatic
#1A0523 #410D59 #68158E #8F1DC3 #AE3BE2

Accessibility & contrast

On white

10.07
#68158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#68158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68158E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68158E#FFFFFF#000000##FFFFFF
##68158E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68158e;
/* rgb */ color: rgb(104, 21, 142);
/* oklch */ color: oklch(40.3% 0.184 311.6);
Tailwind
colors: {
  custom: {
    50: '#985fb0',
    500: '#68158e',
    950: '#000000',
  },
}
SCSS
$custom: #68158e;
$custom-light: #985fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68158e",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 281.157,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.18369,
    "h": 311.6
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#68158E
secondary
#67C23D
accent
#F13771
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68158E

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

Preview Lab → · Contrast checker → · Palette generator →

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