#68159F#68159F

#68159F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.199 H 305.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#68159F
RGBrgb(104, 21, 159)
HSLhsl(276, 77%, 35%)
HSVhsv(276, 87%, 62%)
CMYKcmyk(34.6%, 86.8%, 0%, 37.6%)
CIE-LABlab(29.37, 56.90, -56.53)
CIE-LCHlch(29.37, 80.21, 315.18°)
OKLaboklab(41.74% 0.1168 -0.1612)
OKLCHoklch(41.74% 0.199 305.9)
XYZxyz(12.2337, 5.9827, 33.3045)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68159F #4C9F15
analogous
#23159F #68159F #9F1591
triadic
#68159F #9F6815 #159F68
tetradic
#68159F #9F2315 #4C9F15 #15919F
square
#68159F #9F2315 #4C9F15 #15919F
split-complementary
#68159F #919F15 #159F23
monochromatic
#210733 #450E69 #68159F #8B1CD5 #A748E7

Accessibility & contrast

On white

9.56
#68159F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#68159F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68159F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68159F#FFFFFF#000000##FFFFFF
##68159F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5E3D5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68159f;
/* rgb */ color: rgb(104, 21, 159);
/* oklch */ color: oklch(41.7% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#9960bc',
    500: '#68159f',
    950: '#000000',
  },
}
SCSS
$custom: #68159f;
$custom-light: #9960bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68159f",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 276.087,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.19905,
    "h": 305.9
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#68159F
secondary
#7BC848
accent
#F33581
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0512
muted
#7E7A81

Preview Lab

Preview with #68159F

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

Preview Lab → · Contrast checker → · Palette generator →

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