#68319B#68319B

#68319B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.166 H 304.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#68319B
RGBrgb(104, 49, 155)
HSLhsl(271, 52%, 40%)
HSVhsv(271, 68%, 61%)
CMYKcmyk(32.9%, 68.4%, 0%, 39.2%)
CIE-LABlab(32.93, 44.85, -48.30)
CIE-LCHlch(32.93, 65.91, 312.88°)
OKLaboklab(44.15% 0.0931 -0.1372)
OKLCHoklch(44.15% 0.166 304.2)
XYZxyz(12.7223, 7.5063, 31.7826)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68319B #649B31
analogous
#33319B #68319B #9B3199
triadic
#68319B #9B6831 #319B68
tetradic
#68319B #9B3331 #649B31 #31999B
square
#68319B #9B3331 #649B31 #31999B
split-complementary
#68319B #999B31 #319B33
monochromatic
#2A143E #49226D #68319B #8745C4 #A573D3

Accessibility & contrast

On white

8.40
#68319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#68319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68319B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68319B#FFFFFF#000000##FFFFFF
##68319B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#084D99
Tritanopia (blue-blind)
#5E4962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #68319b;
/* rgb */ color: rgb(104, 49, 155);
/* oklch */ color: oklch(44.2% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#976db9',
    500: '#68319b',
    950: '#000000',
  },
}
SCSS
$custom: #68319b;
$custom-light: #976db9;
$custom-dark: #000000;
JSON
{
  "hex": "#68319b",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 271.132,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.16578,
    "h": 304.2
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#68319B
secondary
#92BB6D
accent
#DB4C91
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #68319B

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

Preview Lab → · Contrast checker → · Palette generator →

#68319B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva