#68319C#68319C

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

Color values

HEX#68319C
RGBrgb(104, 49, 156)
HSLhsl(271, 52%, 40%)
HSVhsv(271, 69%, 61%)
CMYKcmyk(33.3%, 68.6%, 0%, 38.8%)
CIE-LABlab(33.01, 45.10, -48.79)
CIE-LCHlch(33.01, 66.44, 312.75°)
OKLaboklab(44.23% 0.093 -0.1386)
OKLCHoklch(44.23% 0.167 303.8)
XYZxyz(12.8066, 7.5400, 32.2267)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68319C #659C31
analogous
#32319C #68319C #9C319A
triadic
#68319C #9C6831 #319C68
tetradic
#68319C #9C3231 #659C31 #319A9C
square
#68319C #9C3231 #659C31 #319A9C
split-complementary
#68319C #9A9C31 #319C32
monochromatic
#2A143F #49226D #68319C #8745C5 #A574D3

Accessibility & contrast

On white

8.37
#68319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#68319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68319C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68319C#FFFFFF#000000##FFFFFF
##68319C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#054D9A
Tritanopia (blue-blind)
#5E4962
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #68319c;
/* rgb */ color: rgb(104, 49, 156);
/* oklch */ color: oklch(44.2% 0.167 303.8);
Tailwind
colors: {
  custom: {
    50: '#976dba',
    500: '#68319c',
    950: '#000000',
  },
}
SCSS
$custom: #68319c;
$custom-light: #976dba;
$custom-dark: #000000;
JSON
{
  "hex": "#68319c",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 270.841,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.16691,
    "h": 303.8
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#68319C
secondary
#93BB6D
accent
#DC4C92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68319C

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

Preview Lab → · Contrast checker → · Palette generator →

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