#68288F#68288F

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

Color values

HEX#68288F
RGBrgb(104, 40, 143)
HSLhsl(277, 56%, 36%)
HSVhsv(277, 72%, 56%)
CMYKcmyk(27.3%, 72%, 0%, 43.9%)
CIE-LABlab(30.51, 46.30, -44.88)
CIE-LCHlch(30.51, 64.48, 315.89°)
OKLaboklab(42.14% 0.1047 -0.1271)
OKLCHoklch(42.14% 0.165 309.5)
XYZxyz(11.4247, 6.4440, 26.6233)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68288F #4F8F28
analogous
#35288F #68288F #8F2882
triadic
#68288F #8F6828 #288F68
tetradic
#68288F #8F3528 #4F8F28 #28828F
square
#68288F #8F3528 #4F8F28 #28828F
split-complementary
#68288F #828F28 #288F35
monochromatic
#220D2F #451B5F #68288F #8B35BF #A75FD2

Accessibility & contrast

On white

9.18
#68288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#68288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68288F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68288F#FFFFFF#000000##FFFFFF
##68288F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#623F59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68288f;
/* rgb */ color: rgb(104, 40, 143);
/* oklch */ color: oklch(42.1% 0.165 309.5);
Tailwind
colors: {
  custom: {
    50: '#9768b0',
    500: '#68288f',
    950: '#000000',
  },
}
SCSS
$custom: #68288f;
$custom-light: #9768b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68288f",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 277.282,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.16464,
    "h": 309.5
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#68288F
secondary
#7EB85B
accent
#E04882
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68288F

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

Preview Lab → · Contrast checker → · Palette generator →

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