#68138A#68138A

#68138A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.8% C 0.182 H 313.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#68138A
RGBrgb(104, 19, 138)
HSLhsl(283, 76%, 31%)
HSVhsv(283, 86%, 54%)
CMYKcmyk(24.6%, 86.2%, 0%, 45.9%)
CIE-LABlab(27.42, 52.98, -46.78)
CIE-LCHlch(27.42, 70.68, 318.55°)
OKLaboklab(39.85% 0.1244 -0.1325)
OKLCHoklch(39.85% 0.182 313.2)
XYZxyz(10.5284, 5.2441, 24.4974)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68138A #358A13
analogous
#2C138A #68138A #8A1370
triadic
#68138A #8A6813 #138A68
tetradic
#68138A #8A2C13 #358A13 #13708A
square
#68138A #8A2C13 #358A13 #13708A
split-complementary
#68138A #708A13 #138A2C
monochromatic
#17041E #3F0C54 #68138A #911AC0 #B134E3

Accessibility & contrast

On white

10.25
#68138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#68138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68138A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68138A#FFFFFF#000000##FFFFFF
##68138A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68138a;
/* rgb */ color: rgb(104, 19, 138);
/* oklch */ color: oklch(39.8% 0.182 313.2);
Tailwind
colors: {
  custom: {
    50: '#985ead',
    500: '#68138a',
    950: '#000000',
  },
}
SCSS
$custom: #68138a;
$custom-light: #985ead;
$custom-dark: #000000;
JSON
{
  "hex": "#68138a",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 282.857,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.18172,
    "h": 313.2
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#68138A
secondary
#60BE3A
accent
#F2356B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #68138A

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

Preview Lab → · Contrast checker → · Palette generator →

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