#68339D#68339D

#68339D is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.165 H 303.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#68339D
RGBrgb(104, 51, 157)
HSLhsl(270, 51%, 41%)
HSVhsv(270, 68%, 62%)
CMYKcmyk(33.8%, 67.5%, 0%, 38.4%)
CIE-LABlab(33.45, 44.33, -48.69)
CIE-LCHlch(33.45, 65.85, 312.32°)
OKLaboklab(44.57% 0.0906 -0.1383)
OKLCHoklch(44.57% 0.165 303.2)
XYZxyz(12.9771, 7.7450, 32.7030)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68339D #689D33
analogous
#33339D #68339D #9D339D
triadic
#68339D #9D6833 #339D68
tetradic
#68339D #9D3333 #689D33 #339D9D
square
#68339D #9D3333 #689D33 #339D9D
split-complementary
#68339D #9D9D33 #339D33
monochromatic
#2B1541 #49246F #68339D #8749C4 #A577D3

Accessibility & contrast

On white

8.24
#68339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#68339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68339D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68339D#FFFFFF#000000##FFFFFF
##68339D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#084E9B
Tritanopia (blue-blind)
#5E4B63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #68339d;
/* rgb */ color: rgb(104, 51, 157);
/* oklch */ color: oklch(44.6% 0.165 303.2);
Tailwind
colors: {
  custom: {
    50: '#976ebb',
    500: '#68339d',
    950: '#000000',
  },
}
SCSS
$custom: #68339d;
$custom-light: #976ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#68339d",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 270,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.16533,
    "h": 303.2
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#68339D
secondary
#96BB70
accent
#DA4D94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68339D

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

Preview Lab → · Contrast checker → · Palette generator →

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