#68389C#68389C

#68389C is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.157 H 302.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#68389C
RGBrgb(104, 56, 156)
HSLhsl(269, 47%, 42%)
HSVhsv(269, 64%, 61%)
CMYKcmyk(33.3%, 64.1%, 0%, 38.8%)
CIE-LABlab(34.34, 41.45, -46.64)
CIE-LCHlch(34.34, 62.40, 311.63°)
OKLaboklab(45.19% 0.0847 -0.1323)
OKLCHoklch(45.19% 0.157 302.6)
XYZxyz(13.1225, 8.1717, 32.3320)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68389C #6C9C38
analogous
#383A9C #68389C #9A389C
triadic
#68389C #9C6838 #389C68
tetradic
#68389C #9C383A #6C9C38 #389C9A
square
#68389C #9C383A #6C9C38 #389C9A
split-complementary
#68389C #9C9A38 #3A9C38
monochromatic
#2C1842 #4A286F #68389C #8651C0 #A67ED1

Accessibility & contrast

On white

7.97
#68389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#68389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68389C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68389C#FFFFFF#000000##FFFFFF
##68389C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#18509A
Tritanopia (blue-blind)
#5E4D65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #68389c;
/* rgb */ color: rgb(104, 56, 156);
/* oklch */ color: oklch(45.2% 0.157 302.6);
Tailwind
colors: {
  custom: {
    50: '#9771ba',
    500: '#68389c',
    950: '#000000',
  },
}
SCSS
$custom: #68389c;
$custom-light: #9771ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68389c",
  "rgb": {
    "r": 104,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 268.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.15713,
    "h": 302.6
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#68389C
secondary
#99BA76
accent
#D75197
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #68389C

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

Preview Lab → · Contrast checker → · Palette generator →

#68389C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva