#68279D#68279D

#68279D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 304.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#68279D
RGBrgb(104, 39, 157)
HSLhsl(273, 60%, 38%)
HSVhsv(273, 75%, 62%)
CMYKcmyk(33.8%, 75.2%, 0%, 38.4%)
CIE-LABlab(31.41, 50.03, -51.98)
CIE-LCHlch(31.41, 72.15, 313.90°)
OKLaboklab(43.12% 0.1033 -0.1479)
OKLCHoklch(43.12% 0.18 304.9)
XYZxyz(12.5189, 6.8285, 32.5503)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68279D #5C9D27
analogous
#2D279D #68279D #9D2797
triadic
#68279D #9D6827 #279D68
tetradic
#68279D #9D2D27 #5C9D27 #27979D
square
#68279D #9D2D27 #5C9D27 #27979D
split-complementary
#68279D #979D27 #279D2D
monochromatic
#270F3B #481B6C #68279D #8835CD #A566D9

Accessibility & contrast

On white

8.88
#68279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#68279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68279D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68279D#FFFFFF#000000##FFFFFF
##68279D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#5E4460
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68279d;
/* rgb */ color: rgb(104, 39, 157);
/* oklch */ color: oklch(43.1% 0.180 304.9);
Tailwind
colors: {
  custom: {
    50: '#9868bb',
    500: '#68279d',
    950: '#000000',
  },
}
SCSS
$custom: #68279d;
$custom-light: #9868bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68279d",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 273.051,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.18042,
    "h": 304.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#68279D
secondary
#8BBF61
accent
#E3448C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68279D

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

Preview Lab → · Contrast checker → · Palette generator →

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