#68399B#68399B

#68399B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.154 H 302.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#68399B
RGBrgb(104, 57, 155)
HSLhsl(269, 46%, 42%)
HSVhsv(269, 63%, 61%)
CMYKcmyk(32.9%, 63.2%, 0%, 39.2%)
CIE-LABlab(34.47, 40.65, -45.82)
CIE-LCHlch(34.47, 61.25, 311.58°)
OKLaboklab(45.26% 0.0836 -0.1299)
OKLCHoklch(45.26% 0.154 302.8)
XYZxyz(13.0871, 8.2359, 31.9042)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68399B #6C9B39
analogous
#393B9B #68399B #99399B
triadic
#68399B #9B6839 #399B68
tetradic
#68399B #9B393B #6C9B39 #399B99
square
#68399B #9B393B #6C9B39 #399B99
split-complementary
#68399B #9B9939 #3B9B39
monochromatic
#2C1842 #4A296E #68399B #8652BF #A67FD0

Accessibility & contrast

On white

7.93
#68399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#68399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68399B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68399B#FFFFFF#000000##FFFFFF
##68399B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#5E4E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #68399b;
/* rgb */ color: rgb(104, 57, 155);
/* oklch */ color: oklch(45.3% 0.154 302.8);
Tailwind
colors: {
  custom: {
    50: '#9772b9',
    500: '#68399b',
    950: '#000000',
  },
}
SCSS
$custom: #68399b;
$custom-light: #9772b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68399b",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 268.776,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.15448,
    "h": 302.8
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#68399B
secondary
#99B977
accent
#D65297
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #68399B

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

Preview Lab → · Contrast checker → · Palette generator →

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