#68189D#68189D

#68189D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.195 H 306.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#68189D
RGBrgb(104, 24, 157)
HSLhsl(276, 73%, 35%)
HSVhsv(276, 85%, 62%)
CMYKcmyk(33.8%, 84.7%, 0%, 38.4%)
CIE-LABlab(29.49, 55.59, -55.12)
CIE-LCHlch(29.49, 78.28, 315.24°)
OKLaboklab(41.77% 0.1156 -0.157)
OKLCHoklch(41.77% 0.195 306.3)
XYZxyz(12.1200, 6.0308, 32.4173)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68189D #4D9D18
analogous
#25189D #68189D #9D188F
triadic
#68189D #9D6818 #189D68
tetradic
#68189D #9D2518 #4D9D18 #188F9D
square
#68189D #9D2518 #4D9D18 #188F9D
split-complementary
#68189D #8F9D18 #189D25
monochromatic
#220833 #451068 #68189D #8B20D2 #A74CE4

Accessibility & contrast

On white

9.52
#68189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68189D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68189D#FFFFFF#000000##FFFFFF
##68189D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5E3D5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68189d;
/* rgb */ color: rgb(104, 24, 157);
/* oklch */ color: oklch(41.8% 0.195 306.3);
Tailwind
colors: {
  custom: {
    50: '#9961bb',
    500: '#68189d',
    950: '#000000',
  },
}
SCSS
$custom: #68189d;
$custom-light: #9961bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68189d",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 276.09,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.19498,
    "h": 306.3
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#68189D
secondary
#7CC54B
accent
#F03881
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #68189D

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

Preview Lab → · Contrast checker → · Palette generator →

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