#68128F#68128F

#68128F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.187 H 311.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#68128F
RGBrgb(104, 18, 143)
HSLhsl(281, 78%, 32%)
HSVhsv(281, 87%, 56%)
CMYKcmyk(27.3%, 87.4%, 0%, 43.9%)
CIE-LABlab(27.73, 54.28, -49.38)
CIE-LCHlch(27.73, 73.38, 317.71°)
OKLaboklab(40.19% 0.1236 -0.1401)
OKLCHoklch(40.19% 0.187 311.4)
XYZxyz(10.8822, 5.3591, 26.4424)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68128F #398F12
analogous
#2A128F #68128F #8F1278
triadic
#68128F #8F6812 #128F68
tetradic
#68128F #8F2A12 #398F12 #12788F
square
#68128F #8F2A12 #398F12 #12788F
split-complementary
#68128F #788F12 #128F2A
monochromatic
#190422 #400B59 #68128F #9019C5 #AF36E6

Accessibility & contrast

On white

10.14
#68128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#68128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68128F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68128F#FFFFFF#000000##FFFFFF
##68128F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#633554
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68128f;
/* rgb */ color: rgb(104, 18, 143);
/* oklch */ color: oklch(40.2% 0.187 311.4);
Tailwind
colors: {
  custom: {
    50: '#985eb1',
    500: '#68128f',
    950: '#000000',
  },
}
SCSS
$custom: #68128f;
$custom-light: #985eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#68128f",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 281.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.18687,
    "h": 311.4
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#68128F
secondary
#65C33A
accent
#F43470
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68128F

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

Preview Lab → · Contrast checker → · Palette generator →

#68128F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva