#68279B#68279B

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

Color values

HEX#68279B
RGBrgb(104, 39, 155)
HSLhsl(274, 60%, 38%)
HSVhsv(274, 75%, 61%)
CMYKcmyk(32.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(31.26, 49.56, -51.02)
CIE-LCHlch(31.26, 71.13, 314.17°)
OKLaboklab(42.96% 0.1037 -0.1451)
OKLCHoklch(42.96% 0.178 305.5)
XYZxyz(12.3495, 6.7607, 31.6584)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68279B #5A9B27
analogous
#2E279B #68279B #9B2794
triadic
#68279B #9B6827 #279B68
tetradic
#68279B #9B2E27 #5A9B27 #27949B
square
#68279B #9B2E27 #5A9B27 #27949B
split-complementary
#68279B #949B27 #279B2E
monochromatic
#260E39 #471B6A #68279B #8933CC #A564D8

Accessibility & contrast

On white

8.93
#68279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#68279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68279B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68279B#FFFFFF#000000##FFFFFF
##68279B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5F435F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68279b;
/* rgb */ color: rgb(104, 39, 155);
/* oklch */ color: oklch(43.0% 0.178 305.5);
Tailwind
colors: {
  custom: {
    50: '#9868b9',
    500: '#68279b',
    950: '#000000',
  },
}
SCSS
$custom: #68279b;
$custom-light: #9868b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68279b",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 273.621,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42958,
    "c": 0.17834,
    "h": 305.5
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#68279B
secondary
#89BE60
accent
#E3458A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68279B

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

Preview Lab → · Contrast checker → · Palette generator →

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