#68279F#68279F

#68279F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.182 H 304.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#68279F
RGBrgb(104, 39, 159)
HSLhsl(273, 61%, 39%)
HSVhsv(273, 75%, 62%)
CMYKcmyk(34.6%, 75.5%, 0%, 37.6%)
CIE-LABlab(31.57, 50.51, -52.94)
CIE-LCHlch(31.57, 73.17, 313.65°)
OKLaboklab(43.28% 0.1029 -0.1507)
OKLCHoklch(43.28% 0.182 304.3)
XYZxyz(12.6910, 6.8973, 33.4569)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68279F #5E9F27
analogous
#2C279F #68279F #9F279A
triadic
#68279F #9F6827 #279F68
tetradic
#68279F #9F2C27 #5E9F27 #279A9F
square
#68279F #9F2C27 #5E9F27 #279A9F
split-complementary
#68279F #9A9F27 #279F2C
monochromatic
#280F3D #481B6E #68279F #8836CE #A567DA

Accessibility & contrast

On white

8.83
#68279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#68279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68279F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68279F#FFFFFF#000000##FFFFFF
##68279F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#5D4561
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68279f;
/* rgb */ color: rgb(104, 39, 159);
/* oklch */ color: oklch(43.3% 0.182 304.3);
Tailwind
colors: {
  custom: {
    50: '#9868bc',
    500: '#68279f',
    950: '#000000',
  },
}
SCSS
$custom: #68279f;
$custom-light: #9868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68279f",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 272.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.18249,
    "h": 304.3
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#68279F
secondary
#8DC062
accent
#E4448D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68279F

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

Preview Lab → · Contrast checker → · Palette generator →

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