#68148D#68148D

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

Color values

HEX#68148D
RGBrgb(104, 20, 141)
HSLhsl(282, 75%, 32%)
HSVhsv(282, 86%, 55%)
CMYKcmyk(26.2%, 85.8%, 0%, 44.7%)
CIE-LABlab(27.76, 53.32, -48.10)
CIE-LCHlch(27.76, 71.81, 317.95°)
OKLaboklab(40.15% 0.1229 -0.1364)
OKLCHoklch(40.15% 0.184 312)
XYZxyz(10.7659, 5.3668, 25.6629)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68148D #398D14
analogous
#2C148D #68148D #8D1476
triadic
#68148D #8D6814 #148D68
tetradic
#68148D #8D2C14 #398D14 #14768D
square
#68148D #8D2C14 #398D14 #14768D
split-complementary
#68148D #768D14 #148D2C
monochromatic
#190522 #400C57 #68148D #901CC3 #AF39E3

Accessibility & contrast

On white

10.13
#68148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#68148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68148D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68148D#FFFFFF#000000##FFFFFF
##68148D1.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)
#003E90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#633553
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68148d;
/* rgb */ color: rgb(104, 20, 141);
/* oklch */ color: oklch(40.2% 0.184 312.0);
Tailwind
colors: {
  custom: {
    50: '#985faf',
    500: '#68148d',
    950: '#000000',
  },
}
SCSS
$custom: #68148d;
$custom-light: #985faf;
$custom-dark: #000000;
JSON
{
  "hex": "#68148d",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 281.653,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40154,
    "c": 0.1836,
    "h": 312
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#68148D
secondary
#65C13C
accent
#F2366F
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #68148D

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

Preview Lab → · Contrast checker → · Palette generator →

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