#68148E#68148E

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

Color values

HEX#68148E
RGBrgb(104, 20, 142)
HSLhsl(281, 75%, 32%)
HSVhsv(281, 86%, 56%)
CMYKcmyk(26.8%, 85.9%, 0%, 44.3%)
CIE-LABlab(27.84, 53.53, -48.59)
CIE-LCHlch(27.84, 72.29, 317.77°)
OKLaboklab(40.24% 0.1226 -0.1378)
OKLCHoklch(40.24% 0.184 311.7)
XYZxyz(10.8406, 5.3967, 26.0565)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68148E #3A8E14
analogous
#2B148E #68148E #8E1477
triadic
#68148E #8E6814 #148E68
tetradic
#68148E #8E2B14 #3A8E14 #14778E
square
#68148E #8E2B14 #3A8E14 #14778E
split-complementary
#68148E #778E14 #148E2B
monochromatic
#190523 #410C58 #68148E #8F1CC4 #AE39E3

Accessibility & contrast

On white

10.10
#68148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#68148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68148E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68148E#FFFFFF#000000##FFFFFF
##68148E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.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: #68148e;
/* rgb */ color: rgb(104, 20, 142);
/* oklch */ color: oklch(40.2% 0.184 311.7);
Tailwind
colors: {
  custom: {
    50: '#985fb0',
    500: '#68148e',
    950: '#000000',
  },
}
SCSS
$custom: #68148e;
$custom-light: #985fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68148e",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 281.311,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.18449,
    "h": 311.7
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#68148E
secondary
#66C23C
accent
#F23670
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68148E

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

Preview Lab → · Contrast checker → · Palette generator →

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