#68189F#68189F

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

Color values

HEX#68189F
RGBrgb(104, 24, 159)
HSLhsl(276, 74%, 36%)
HSVhsv(276, 85%, 62%)
CMYKcmyk(34.6%, 84.9%, 0%, 37.6%)
CIE-LABlab(29.66, 56.03, -56.05)
CIE-LCHlch(29.66, 79.26, 314.99°)
OKLaboklab(41.95% 0.1149 -0.1598)
OKLCHoklch(41.95% 0.197 305.7)
XYZxyz(12.2922, 6.0996, 33.3239)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68189F #4F9F18
analogous
#25189F #68189F #9F1892
triadic
#68189F #9F6818 #189F68
tetradic
#68189F #9F2518 #4F9F18 #18929F
square
#68189F #9F2518 #4F9F18 #18929F
split-complementary
#68189F #929F18 #189F25
monochromatic
#220835 #45106A #68189F #8B20D4 #A74DE4

Accessibility & contrast

On white

9.46
#68189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#68189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68189F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68189F#FFFFFF#000000##FFFFFF
##68189F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68189f;
/* rgb */ color: rgb(104, 24, 159);
/* oklch */ color: oklch(41.9% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#9961bc',
    500: '#68189f',
    950: '#000000',
  },
}
SCSS
$custom: #68189f;
$custom-light: #9961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68189f",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 275.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.19684,
    "h": 305.7
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#68189F
secondary
#7EC64D
accent
#F03783
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #68189F

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

Preview Lab → · Contrast checker → · Palette generator →

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