#68278C#68278C

#68278C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 310.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#68278C
RGBrgb(104, 39, 140)
HSLhsl(279, 56%, 35%)
HSVhsv(279, 72%, 55%)
CMYKcmyk(25.7%, 72.1%, 0%, 45.1%)
CIE-LABlab(30.13, 46.07, -43.64)
CIE-LCHlch(30.13, 63.45, 316.55°)
OKLaboklab(41.8% 0.1062 -0.1234)
OKLCHoklch(41.8% 0.163 310.7)
XYZxyz(11.1672, 6.2878, 25.4313)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68278C #4B8C27
analogous
#35278C #68278C #8C277D
triadic
#68278C #8C6827 #278C68
tetradic
#68278C #8C3527 #4B8C27 #277D8C
square
#68278C #8C3527 #4B8C27 #277D8C
split-complementary
#68278C #7D8C27 #278C35
monochromatic
#210C2C #441A5C #68278C #8C34BC #A85CD2

Accessibility & contrast

On white

9.30
#68278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68278C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68278C#FFFFFF#000000##FFFFFF
##68278C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68278c;
/* rgb */ color: rgb(104, 39, 140);
/* oklch */ color: oklch(41.8% 0.163 310.7);
Tailwind
colors: {
  custom: {
    50: '#9767ae',
    500: '#68278c',
    950: '#000000',
  },
}
SCSS
$custom: #68278c;
$custom-light: #9767ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68278c",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 278.614,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.1628,
    "h": 310.7
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#68278C
secondary
#7AB758
accent
#E0487E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68278C

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

Preview Lab → · Contrast checker → · Palette generator →

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