#68399D#68399D

#68399D is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.157 H 302.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#68399D
RGBrgb(104, 57, 157)
HSLhsl(268, 47%, 42%)
HSVhsv(268, 64%, 62%)
CMYKcmyk(33.8%, 63.7%, 0%, 38.4%)
CIE-LABlab(34.61, 41.16, -46.81)
CIE-LCHlch(34.61, 62.34, 311.33°)
OKLaboklab(45.4% 0.0835 -0.1328)
OKLCHoklch(45.4% 0.157 302.1)
XYZxyz(13.2564, 8.3036, 32.7961)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68399D #6E9D39
analogous
#393C9D #68399D #9A399D
triadic
#68399D #9D6839 #399D68
tetradic
#68399D #9D393C #6E9D39 #399D9A
square
#68399D #9D393C #6E9D39 #399D9A
split-complementary
#68399D #9D9A39 #3C9D39
monochromatic
#2D1843 #4A2970 #68399D #8653C0 #A680D1

Accessibility & contrast

On white

7.89
#68399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#68399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68399D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68399D#FFFFFF#000000##FFFFFF
##68399D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#5D4E65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #68399d;
/* rgb */ color: rgb(104, 57, 157);
/* oklch */ color: oklch(45.4% 0.157 302.1);
Tailwind
colors: {
  custom: {
    50: '#9772bb',
    500: '#68399d',
    950: '#000000',
  },
}
SCSS
$custom: #68399d;
$custom-light: #9772bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68399d",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 268.2,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.15687,
    "h": 302.1
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#68399D
secondary
#9BBA78
accent
#D65198
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #68399D

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

Preview Lab → · Contrast checker → · Palette generator →

#68399D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva