#68126A#68126A

#68126A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.155 H 327.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#68126A
RGBrgb(104, 18, 106)
HSLhsl(299, 71%, 24%)
HSVhsv(299, 83%, 42%)
CMYKcmyk(1.9%, 83%, 0%, 58.4%)
CIE-LABlab(25.00, 47.09, -30.34)
CIE-LCHlch(25.00, 56.01, 327.21°)
OKLaboklab(37.41% 0.1304 -0.0843)
OKLCHoklch(37.41% 0.155 327.1)
XYZxyz(8.5266, 4.4169, 14.0363)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68126A #146A12
analogous
#3C126A #68126A #6A1240
triadic
#68126A #6A6812 #126A68
tetradic
#68126A #6A3C12 #146A12 #12406A
square
#68126A #6A3C12 #146A12 #12406A
split-complementary
#68126A #406A12 #126A3C
monochromatic
#1A041A #350936 #68126A #9B1B9E #CF24D3

Accessibility & contrast

On white

11.15
#68126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#68126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68126A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68126A#FFFFFF#000000##FFFFFF
##68126A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#2A3F68
Tritanopia (blue-blind)
#6B223E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68126a;
/* rgb */ color: rgb(104, 18, 106);
/* oklch */ color: oklch(37.4% 0.155 327.1);
Tailwind
colors: {
  custom: {
    50: '#965c95',
    500: '#68126a',
    950: '#000000',
  },
}
SCSS
$custom: #68126a;
$custom-light: #965c95;
$custom-dark: #000000;
JSON
{
  "hex": "#68126a",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 298.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.15526,
    "h": 327.1
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#68126A
secondary
#39A236
accent
#EE3A3E
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68126A

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

Preview Lab → · Contrast checker → · Palette generator →

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