#68319A#68319A

#68319A is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.165 H 304.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#68319A
RGBrgb(104, 49, 154)
HSLhsl(271, 52%, 40%)
HSVhsv(271, 68%, 60%)
CMYKcmyk(32.5%, 68.2%, 0%, 39.6%)
CIE-LABlab(32.86, 44.60, -47.81)
CIE-LCHlch(32.86, 65.39, 313.01°)
OKLaboklab(44.08% 0.0932 -0.1357)
OKLCHoklch(44.08% 0.165 304.5)
XYZxyz(12.6387, 7.4728, 31.3422)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68319A #639A31
analogous
#34319A #68319A #9A3197
triadic
#68319A #9A6831 #319A68
tetradic
#68319A #9A3431 #639A31 #31979A
square
#68319A #9A3431 #639A31 #31979A
split-complementary
#68319A #979A31 #319A34
monochromatic
#29133D #49226C #68319A #8745C4 #A573D2

Accessibility & contrast

On white

8.42
#68319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#68319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68319A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68319A#FFFFFF#000000##FFFFFF
##68319A1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#0C4D98
Tritanopia (blue-blind)
#5F4861
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #68319a;
/* rgb */ color: rgb(104, 49, 154);
/* oklch */ color: oklch(44.1% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#976db8',
    500: '#68319a',
    950: '#000000',
  },
}
SCSS
$custom: #68319a;
$custom-light: #976db8;
$custom-dark: #000000;
JSON
{
  "hex": "#68319a",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 271.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.16466,
    "h": 304.5
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#68319A
secondary
#92BA6C
accent
#DB4D91
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #68319A

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

Preview Lab → · Contrast checker → · Palette generator →

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