#68288A#68288A

#68288A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.159 H 311.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#68288A
RGBrgb(104, 40, 138)
HSLhsl(279, 55%, 35%)
HSVhsv(279, 71%, 54%)
CMYKcmyk(24.6%, 71%, 0%, 45.9%)
CIE-LABlab(30.15, 45.15, -42.37)
CIE-LCHlch(30.15, 61.92, 316.82°)
OKLaboklab(41.77% 0.1053 -0.1197)
OKLCHoklch(41.77% 0.159 311.3)
XYZxyz(11.0543, 6.2959, 24.6727)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68288A #4A8A28
analogous
#37288A #68288A #8A287B
triadic
#68288A #8A6828 #288A68
tetradic
#68288A #8A3728 #4A8A28 #287B8A
square
#68288A #8A3728 #4A8A28 #287B8A
split-complementary
#68288A #7B8A28 #288A37
monochromatic
#200C2B #441A5B #68288A #8C36B9 #A85DD0

Accessibility & contrast

On white

9.30
#68288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#68288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68288A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68288A#FFFFFF#000000##FFFFFF
##68288A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#643D56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68288a;
/* rgb */ color: rgb(104, 40, 138);
/* oklch */ color: oklch(41.8% 0.159 311.3);
Tailwind
colors: {
  custom: {
    50: '#9768ad',
    500: '#68288a',
    950: '#000000',
  },
}
SCSS
$custom: #68288a;
$custom-light: #9768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68288a",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 279.184,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.15941,
    "h": 311.3
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#68288A
secondary
#79B559
accent
#DE497D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68288A

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

Preview Lab → · Contrast checker → · Palette generator →

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