#68288C#68288C

#68288C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.161 H 310.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#68288C
RGBrgb(104, 40, 140)
HSLhsl(278, 56%, 35%)
HSVhsv(278, 71%, 55%)
CMYKcmyk(25.7%, 71.4%, 0%, 45.1%)
CIE-LABlab(30.29, 45.61, -43.38)
CIE-LCHlch(30.29, 62.94, 316.44°)
OKLaboklab(41.92% 0.1051 -0.1226)
OKLCHoklch(41.92% 0.161 310.6)
XYZxyz(11.2004, 6.3543, 25.4423)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68288C #4C8C28
analogous
#36288C #68288C #8C287E
triadic
#68288C #8C6828 #288C68
tetradic
#68288C #8C3628 #4C8C28 #287E8C
square
#68288C #8C3628 #4C8C28 #287E8C
split-complementary
#68288C #7E8C28 #288C36
monochromatic
#210D2D #451A5C #68288C #8B36BC #A75ED1

Accessibility & contrast

On white

9.25
#68288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68288C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68288C#FFFFFF#000000##FFFFFF
##68288C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#633E57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68288c;
/* rgb */ color: rgb(104, 40, 140);
/* oklch */ color: oklch(41.9% 0.161 310.6);
Tailwind
colors: {
  custom: {
    50: '#9768ae',
    500: '#68288c',
    950: '#000000',
  },
}
SCSS
$custom: #68288c;
$custom-light: #9768ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68288c",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 278.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.16149,
    "h": 310.6
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#68288C
secondary
#7BB65A
accent
#DF497F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68288C

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

Preview Lab → · Contrast checker → · Palette generator →

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