#68148B#68148B

#68148B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.182 H 312.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#68148B
RGBrgb(104, 20, 139)
HSLhsl(282, 75%, 31%)
HSVhsv(282, 86%, 55%)
CMYKcmyk(25.2%, 85.6%, 0%, 45.5%)
CIE-LABlab(27.59, 52.90, -47.12)
CIE-LCHlch(27.59, 70.85, 318.31°)
OKLaboklab(39.99% 0.1234 -0.1335)
OKLCHoklch(39.99% 0.182 312.8)
XYZxyz(10.6184, 5.3078, 24.8862)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68148B #378B14
analogous
#2C148B #68148B #8B1472
triadic
#68148B #8B6814 #148B68
tetradic
#68148B #8B2C14 #378B14 #14728B
square
#68148B #8B2C14 #378B14 #14728B
split-complementary
#68148B #728B14 #148B2C
monochromatic
#180520 #400C55 #68148B #901CC1 #B037E2

Accessibility & contrast

On white

10.19
#68148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68148B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68148B#FFFFFF#000000##FFFFFF
##68148B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#643452
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68148b;
/* rgb */ color: rgb(104, 20, 139);
/* oklch */ color: oklch(40.0% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#985fae',
    500: '#68148b',
    950: '#000000',
  },
}
SCSS
$custom: #68148b;
$custom-light: #985fae;
$custom-dark: #000000;
JSON
{
  "hex": "#68148b",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 282.353,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.18182,
    "h": 312.8
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#68148B
secondary
#62BF3C
accent
#F1366D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #68148B

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

Preview Lab → · Contrast checker → · Palette generator →

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