#68279C#68279C

#68279C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.179 H 305.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#68279C
RGBrgb(104, 39, 156)
HSLhsl(273, 60%, 38%)
HSVhsv(273, 75%, 61%)
CMYKcmyk(33.3%, 75%, 0%, 38.8%)
CIE-LABlab(31.33, 49.79, -51.50)
CIE-LCHlch(31.33, 71.64, 314.03°)
OKLaboklab(43.04% 0.1035 -0.1465)
OKLCHoklch(43.04% 0.179 305.2)
XYZxyz(12.4338, 6.7945, 32.1025)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68279C #5B9C27
analogous
#2D279C #68279C #9C2795
triadic
#68279C #9C6827 #279C68
tetradic
#68279C #9C2D27 #5B9C27 #27959C
square
#68279C #9C2D27 #5B9C27 #27959C
split-complementary
#68279C #959C27 #279C2D
monochromatic
#270F3A #471B6B #68279C #8934CC #A565D8

Accessibility & contrast

On white

8.90
#68279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#68279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68279C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68279C#FFFFFF#000000##FFFFFF
##68279C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5E4460
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68279c;
/* rgb */ color: rgb(104, 39, 156);
/* oklch */ color: oklch(43.0% 0.179 305.2);
Tailwind
colors: {
  custom: {
    50: '#9868ba',
    500: '#68279c',
    950: '#000000',
  },
}
SCSS
$custom: #68279c;
$custom-light: #9868ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68279c",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.17939,
    "h": 305.2
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#68279C
secondary
#8ABE61
accent
#E3458B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68279C

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

Preview Lab → · Contrast checker → · Palette generator →

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