#68319F#68319F

#68319F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.170 H 302.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#68319F
RGBrgb(104, 49, 159)
HSLhsl(270, 53%, 41%)
HSVhsv(270, 69%, 62%)
CMYKcmyk(34.6%, 69.2%, 0%, 37.6%)
CIE-LABlab(33.23, 45.85, -50.25)
CIE-LCHlch(33.23, 68.02, 312.38°)
OKLaboklab(44.46% 0.0926 -0.1429)
OKLCHoklch(44.46% 0.17 302.9)
XYZxyz(13.0638, 7.6429, 33.5812)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68319F #689F31
analogous
#31319F #68319F #9F319F
triadic
#68319F #9F6831 #319F68
tetradic
#68319F #9F3131 #689F31 #319F9F
square
#68319F #9F3131 #689F31 #319F9F
split-complementary
#68319F #9F9F31 #319F31
monochromatic
#2B1441 #492370 #68319F #8747C6 #A576D5

Accessibility & contrast

On white

8.30
#68319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#68319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68319F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68319F#FFFFFF#000000##FFFFFF
##68319F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#5D4A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #68319f;
/* rgb */ color: rgb(104, 49, 159);
/* oklch */ color: oklch(44.5% 0.170 302.9);
Tailwind
colors: {
  custom: {
    50: '#986dbc',
    500: '#68319f',
    950: '#000000',
  },
}
SCSS
$custom: #68319f;
$custom-light: #986dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#68319f",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 270,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.17027,
    "h": 302.9
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#68319F
secondary
#96BD6F
accent
#DC4C94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68319F

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

Preview Lab → · Contrast checker → · Palette generator →

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