#68288E#68288E

#68288E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.164 H 309.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#68288E
RGBrgb(104, 40, 142)
HSLhsl(278, 56%, 36%)
HSVhsv(278, 72%, 56%)
CMYKcmyk(26.8%, 71.8%, 0%, 44.3%)
CIE-LABlab(30.43, 46.07, -44.38)
CIE-LCHlch(30.43, 63.97, 316.07°)
OKLaboklab(42.07% 0.1048 -0.1256)
OKLCHoklch(42.07% 0.164 309.8)
XYZxyz(11.3492, 6.4139, 26.2261)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68288E #4E8E28
analogous
#35288E #68288E #8E2881
triadic
#68288E #8E6828 #288E68
tetradic
#68288E #8E3528 #4E8E28 #28818E
square
#68288E #8E3528 #4E8E28 #28818E
split-complementary
#68288E #818E28 #288E35
monochromatic
#220D2F #451B5E #68288E #8B35BE #A75FD2

Accessibility & contrast

On white

9.20
#68288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#68288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68288E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68288E#FFFFFF#000000##FFFFFF
##68288E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#633E58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68288e;
/* rgb */ color: rgb(104, 40, 142);
/* oklch */ color: oklch(42.1% 0.164 309.8);
Tailwind
colors: {
  custom: {
    50: '#9768b0',
    500: '#68288e',
    950: '#000000',
  },
}
SCSS
$custom: #68288e;
$custom-light: #9768b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68288e",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 277.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.16359,
    "h": 309.8
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#68288E
secondary
#7DB75B
accent
#DF4881
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68288E

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

Preview Lab → · Contrast checker → · Palette generator →

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