#68148A#68148A

#68148A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.181 H 313.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#68148A
RGBrgb(104, 20, 138)
HSLhsl(283, 75%, 31%)
HSVhsv(283, 86%, 54%)
CMYKcmyk(24.6%, 85.5%, 0%, 45.9%)
CIE-LABlab(27.51, 52.70, -46.63)
CIE-LCHlch(27.51, 70.36, 318.50°)
OKLaboklab(39.91% 0.1237 -0.1321)
OKLCHoklch(39.91% 0.181 313.1)
XYZxyz(10.5457, 5.2787, 24.5032)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68148A #368A14
analogous
#2D148A #68148A #8A1471
triadic
#68148A #8A6814 #148A68
tetradic
#68148A #8A2D14 #368A14 #14718A
square
#68148A #8A2D14 #368A14 #14718A
split-complementary
#68148A #718A14 #148A2D
monochromatic
#17051F #400C55 #68148A #901CBF #B136E2

Accessibility & contrast

On white

10.22
#68148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#68148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68148A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68148A#FFFFFF#000000##FFFFFF
##68148A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#643351
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68148a;
/* rgb */ color: rgb(104, 20, 138);
/* oklch */ color: oklch(39.9% 0.181 313.1);
Tailwind
colors: {
  custom: {
    50: '#985fad',
    500: '#68148a',
    950: '#000000',
  },
}
SCSS
$custom: #68148a;
$custom-light: #985fad;
$custom-dark: #000000;
JSON
{
  "hex": "#68148a",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 282.712,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.18093,
    "h": 313.1
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#68148A
secondary
#61BE3C
accent
#F1366C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #68148A

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

Preview Lab → · Contrast checker → · Palette generator →

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