#68199F#68199F

#68199F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.196 H 305.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#68199F
RGBrgb(104, 25, 159)
HSLhsl(275, 73%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(34.6%, 84.3%, 0%, 37.6%)
CIE-LABlab(29.77, 55.72, -55.88)
CIE-LCHlch(29.77, 78.92, 314.92°)
OKLaboklab(42.02% 0.1143 -0.1593)
OKLCHoklch(42.02% 0.196 305.7)
XYZxyz(12.3131, 6.1416, 33.3309)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68199F #509F19
analogous
#25199F #68199F #9F1993
triadic
#68199F #9F6819 #199F68
tetradic
#68199F #9F2519 #509F19 #19939F
square
#68199F #9F2519 #509F19 #19939F
split-complementary
#68199F #939F19 #199F25
monochromatic
#230835 #45116A #68199F #8B21D4 #A64FE3

Accessibility & contrast

On white

9.42
#68199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68199F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68199F#FFFFFF#000000##FFFFFF
##68199F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68199f;
/* rgb */ color: rgb(104, 25, 159);
/* oklch */ color: oklch(42.0% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#9962bc',
    500: '#68199f',
    950: '#000000',
  },
}
SCSS
$custom: #68199f;
$custom-light: #9962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68199f",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 275.373,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.19604,
    "h": 305.7
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#68199F
secondary
#7FC64E
accent
#F03883
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #68199F

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

Preview Lab → · Contrast checker → · Palette generator →

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