#68288B#68288B

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

Color values

HEX#68288B
RGBrgb(104, 40, 139)
HSLhsl(279, 55%, 35%)
HSVhsv(279, 71%, 55%)
CMYKcmyk(25.2%, 71.2%, 0%, 45.5%)
CIE-LABlab(30.22, 45.38, -42.87)
CIE-LCHlch(30.22, 62.43, 316.63°)
OKLaboklab(41.84% 0.1052 -0.1212)
OKLCHoklch(41.84% 0.16 311)
XYZxyz(11.1270, 6.3250, 25.0558)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68288B #4B8B28
analogous
#37288B #68288B #8B287C
triadic
#68288B #8B6828 #288B68
tetradic
#68288B #8B3728 #4B8B28 #287C8B
square
#68288B #8B3728 #4B8B28 #287C8B
split-complementary
#68288B #7C8B28 #288B37
monochromatic
#210D2C #441A5B #68288B #8C36BB #A85DD0

Accessibility & contrast

On white

9.27
#68288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#68288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68288B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68288B#FFFFFF#000000##FFFFFF
##68288B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#633D56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68288b;
/* rgb */ color: rgb(104, 40, 139);
/* oklch */ color: oklch(41.8% 0.160 311.0);
Tailwind
colors: {
  custom: {
    50: '#9768ad',
    500: '#68288b',
    950: '#000000',
  },
}
SCSS
$custom: #68288b;
$custom-light: #9768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68288b",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 278.788,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.16045,
    "h": 311
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#68288B
secondary
#7AB659
accent
#DF497E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68288B

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

Preview Lab → · Contrast checker → · Palette generator →

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