#68278D#68278D

#68278D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.164 H 310.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#68278D
RGBrgb(104, 39, 141)
HSLhsl(278, 57%, 35%)
HSVhsv(278, 72%, 55%)
CMYKcmyk(26.2%, 72.3%, 0%, 44.7%)
CIE-LABlab(30.20, 46.29, -44.14)
CIE-LCHlch(30.20, 63.97, 316.36°)
OKLaboklab(41.88% 0.106 -0.1249)
OKLCHoklch(41.88% 0.164 310.3)
XYZxyz(11.2412, 6.3174, 25.8213)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68278D #4C8D27
analogous
#35278D #68278D #8D277F
triadic
#68278D #8D6827 #278D68
tetradic
#68278D #8D3527 #4C8D27 #277F8D
square
#68278D #8D3527 #4C8D27 #277F8D
split-complementary
#68278D #7F8D27 #278D35
monochromatic
#210C2D #451A5D #68278D #8B34BD #A75CD2

Accessibility & contrast

On white

9.28
#68278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#68278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68278D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68278D#FFFFFF#000000##FFFFFF
##68278D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#633D57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68278d;
/* rgb */ color: rgb(104, 39, 141);
/* oklch */ color: oklch(41.9% 0.164 310.3);
Tailwind
colors: {
  custom: {
    50: '#9767af',
    500: '#68278d',
    950: '#000000',
  },
}
SCSS
$custom: #68278d;
$custom-light: #9767af;
$custom-dark: #000000;
JSON
{
  "hex": "#68278d",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 278.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.16383,
    "h": 310.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#68278D
secondary
#7BB759
accent
#E0487F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68278D

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

Preview Lab → · Contrast checker → · Palette generator →

#68278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva